Parameter | Type | Default | Description |
---|---|---|---|
base_dir | Path | None | Specifies the base directory path for file operations |
enable_save_file | bool | True | Enables functionality to save files |
enable_read_file | bool | True | Enables functionality to read files |
enable_list_files | bool | True | Enables functionality to list files in directories |
enable_search_files | bool | True | Enables functionality to search for files |
all | bool | False | Enables all functionality when set to True |
Name | Description |
---|---|
save_file | Saves the contents to a file called file_name and returns the file name if successful. |
read_file | Reads the contents of the file file_name and returns the contents if successful. |
list_files | Returns a list of files in the base directory |