copy_file:Copy files using absolute paths, ensuring source and destination extensions match. Confirm overwrite if needed. All paths must exist or be creatable. Validate by invoking the tool multiple times. Example: Copy '/source/file.txt' to '/destination/file_copy.txt'. Avoid mismatched extensions or relative paths.
file_delete:file_delete: Deletes files using absolute paths, including file name and extension. Only full paths are accepted, e.g., {'file_path':'/path/file.txt'}. Confirm the file exists before deleting. Reinvoke for file system state validation. Files without extensions are valid.
file_search:The 'file_search' tool locates files using Unix shell regex. Use only relative paths and lowercase extensions. Avoid absolute paths, uppercase extensions, and invalid patterns. Example: {'dir_path': 'Docs/Reports', 'pattern': '*.pdf'}. Invoke multiple times for comprehensive validation.
move_file:Use 'move_file' with absolute file paths for both source and destination. Ensure paths are valid, point to existing files, and are not directories. The tool supports moving and renaming by adjusting file names in paths. Confirm file extensions are appropriate. Example: move_file('/path/to/source.txt', '/path/to/destination.txt'). Invoke multiple times for consistent validation.
read_file:Tool Name: read_file. Use for .txt and .csv files only. Verify file existence and path correctness before use. Unsupported formats (.mp4, .docx, .pdf) trigger errors. Example: {'file_path': 'documents/report.txt'}. Invoke multiple times for file system state validation.
write_file:The 'write_file' tool writes only to existing .txt files. Paths must be valid and end with .txt. Set 'append: true' to add text, 'append: false' to overwrite. Unsupported formats like .pdf/.docx are not allowed. Validate paths and formats before use. Invoke the tool multiple times to confirm file system state. Example: Write 'Hello' to '/path/file.txt' with 'append: false'.
list_directory:Use 'list_directory' to list files in a directory by providing an absolute path starting with '/'. Ensure the path exists and avoid relative paths. Validate by invoking the tool multiple times. Example: {'dir_path': '/home/user/documents'}.
