delete_item
Delete files or directories in cPanel by moving them to Trash or permanently removing them; choose permanent deletion only when required.
Instructions
Move a file or directory to cPanel Trash, or permanently delete it.
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_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path of the file or folder to delete. | |
| permanent | No | If true, permanently deletes instead of moving to Trash. |