delete
Delete a single file with built-in safety: no directory or symlink deletion, no path traversal, and TOCTOU protection. Use dry_run=true to preview the deletion.
Instructions
Deletes a single file. Safety: no directory/symlink deletion, no path traversal, no system files, TOCTOU protection. Use dry_run=true to preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | Absolute path to the file to delete | |
| path | No | Alias for file_path | |
| dry_run | No | Preview deletion without actually removing the file: true or false. Default: false |