delete_file
Remove files or empty directories from a Webmin-managed server. Use this tool to delete specific paths while following safety restrictions that protect system directories.
Instructions
Delete a file or empty directory. This is a dangerous operation. In safe mode, only deletes in /tmp and /var/tmp are allowed. System directories are always protected.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Server alias (e.g., 'pi1', 'web-server'). Uses default server if not specified. | |
| path | Yes | Absolute path to the file or directory to delete |