deleteFile
Permanently deletes a single file from the filesystem. Returns confirmation on success; throws error for non-existent files or blocked system paths.
Instructions
Permanently delete a single file from the filesystem. This operation is irreversible. Only regular files can be deleted — use the exec tool with rmdir for directories. Returns a confirmation message on success. Throws an error if the file does not exist. Paths targeting sensitive system directories (e.g. /etc/shadow, /proc/, /dev/) are blocked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to the file to delete. Relative paths are resolved from the server's working directory. Must not be empty or contain null bytes. Example: `/tmp/temp-file.txt`. |