trash_file
Move files or directories to macOS Trash without permanent deletion. Use dry_run to preview the action.
Instructions
Move a file or directory to the macOS Trash. Permanent delete is not supported.
Args: path: Existing file or directory path dry_run: Return the planned action without moving to Trash
Returns: JSON string with operation details or an error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |