DirectoryPath#

class langchain_community.agent_toolkits.github.toolkit.DirectoryPath[source]#

Bases: BaseModel

Schema for operations that require a directory path as input.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

param input: str = ''#

The path of the directory, e.g. some_dir/inner_dir. Only input a string, do not include the parameter name.