BaseFileToolMixin#
- class langchain_community.tools.file_management.utils.BaseFileToolMixin[source]#
Bases:
BaseModel
Mixin for file system tools.
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 root_dir: str | None = None#
The final path will be chosen relative to root_dir if specified.