langchain_community.tools.file_management.file_search
.FileSearchInput¶
- class langchain_community.tools.file_management.file_search.FileSearchInput[source]¶
Bases:
BaseModel
Input for FileSearchTool.
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 dir_path: str = '.'¶
Subdirectory to search in.
- param pattern: str [Required]¶
Unix shell regex, where * matches everything.