Delete a path (to Trash)
delete_pathMove files or folders to Trash for recoverable deletion, respecting path allowlists and protected locations.
Instructions
Move a file or folder to the Trash (recoverable). Requires admin mode AND MACCTL_ALLOW_DELETE=true. Honours the path allowlist and refuses protected paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to trash (supports ~). |