trash_file
Move a file or directory to the system trash instead of deleting it permanently, keeping it recoverable through gio trash.
Instructions
Move a file to trash (recoverable, NOT permanent delete). Uses gio trash.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "trash_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File or directory path to trash |