copy_file:Copy files using absolute paths where source and destination have identical file extensions. Avoid overwriting unless explicitly allowed. Check paths exist or can be created. Multiple invocations enhance validation and ensure correctness.
file_delete:file_delete: Deletes files using absolute paths. Ensure the file exists and the path includes a valid extension, e.g., .txt, .pdf. Validate path format and file existence before invoking. Example: {'file_path':'/path/file.txt'}. Use multiple invocations for better validation.
file_search:Use file_search to find files in a subdirectory using Unix shell regex. Paths must be relative (no leading slashes), and patterns require lowercase extensions. Example: {'dir_path': 'Docs/Reports', 'pattern': '*.pdf'}. Multiple invocations improve file system validation.
move_file:Use absolute paths with valid file names and extensions for both source and destination. Ensure paths exist and files are correctly named. Avoid descriptive names or relative paths. Example: move_file('/source/path/file.txt', '/destination/path/newfile.txt'). Invoking the tool multiple times helps verify file system state.
read_file:Tool Name: read_file. Only reads .txt and .csv files from valid paths. Unsupported formats (.mp4, .docx, .pdf) and invalid paths cause errors. Verify file existence and format before use. Example: {'file_path': 'documents/report.txt'}. Invoke multiple times to validate the file system state.
write_file:The 'write_file' tool writes text only to .txt files. Ensure the file path ends with .txt. Provide clear text input and use 'append: true' to add to existing files. Unsupported formats like .pdf or .mp4 are not allowed. Validate paths before use. Invoke multiple times for better file system state validation. Example: Write 'Hello' to '/path/file.txt' with 'append: false'.
list_directory:Tool Name: list_directory. Use to list files in a folder. Provide absolute paths only and verify their existence externally. Avoid relative or invalid paths. Example: {'dir_path': '/home/user/documents'}. The tool can be invoked multiple times for consistent validation.
