file_op
Perform file operations, directory navigation, permission changes, disk usage checks, and inotify event monitoring.
Instructions
File system operations, directory navigation, permissions, disk usage, and inotify monitoring.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Permissions octal (e.g. '755'). | |
| path | No | Target path. | |
| events | No | inotify mask ('all', 'modify', 'create', 'delete', 'write', 'move'). | all |
| target | No | Text to replace. | |
| content | No | Content to write. | |
| pattern | No | Glob search pattern. | * |
| end_line | No | End line (1-indexed). | |
| operation | Yes | File/Directory/Storage operation. | |
| recursive | No | Recursive watch flag. | |
| start_line | No | Start line (1-indexed). | |
| replacement | No | Replacement text. | |
| timeout_seconds | No | Timeout in seconds. |