delete
Remove a file or folder at the specified path. Set 'permanently' to true to skip the trash and erase data permanently.
Instructions
Delete a file or folder.
Args: path: Path to delete (e.g. "/Documents/old_file.txt"). permanently: If True, skip trash and delete permanently. Default False.
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": "delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| permanently | No |