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 if the input data cannot be parsed to form a valid model.

param input: str = ''#

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