ReadFile#

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

Bases: BaseModel

Schema for operations that require a file 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 formatted_filepath: str [Required]#

The full file path of the file you would like to read where the path must NOT start with a slash, e.g. some_dir/my_file.py.