copy_file:Copy files using valid absolute paths, ensuring source and destination have identical extensions. No renaming or format changes allowed. Ensure paths prevent overwriting. Example: Copy '/source/file.txt' to '/destination/file.txt'. Invoke multiple times for accurate file system validation.
file_delete:Use 'file_delete' to remove files by providing a full, absolute path with a valid extension. Ensure the path is correct and the file exists. Example: Delete '/full/path/to/file.txt'. Avoid relative paths or vague file names. The tool can be invoked multiple times for better validation of the file system state.
file_search:Use 'file_search' with relative paths only, not absolute paths. Patterns must be lowercase, Unix shell wildcard compliant, and case-sensitive. Avoid regex. Example: {'dir_path': 'Exams/Past_Papers', 'pattern': '*.pptx'}. The tool can be invoked multiple times for better file system validation.
move_file:Use 'move_file' to rename files using absolute paths within the same directory. Ensure paths are valid and identical in directory. Cross-directory moves are unsupported. Example: Rename '/path/file.txt' to '/path/file_renamed.txt'. Invoke multiple times for validation.
read_file:This tool reads .txt files only. Provide valid paths ending in .txt. Unsupported formats like .mp4, .docx, .pdf are invalid. Example: {'file_path': '/path/to/document.txt'}. Validate paths multiple times to ensure accuracy.
write_file:Use 'write_file' for existing .txt files only. Ensure the file path is valid. Set 'append' to true to add text or false to overwrite. Creating new files or modifying non-.txt files is unsupported. Validate file paths and types before use. Invoke multiple times for validation.
list_directory:Use 'list_directory' with absolute paths only, starting with '/'. Confirm 'dir_path' exists. Avoid relative paths. Examples: '/home/user/documents'. Use multiple invocations for comprehensive file system validation.
