Delete a file or folder
delete_pathPermanently deletes a file, or a folder and everything in it. This can't be undone, so confirm with the user first.
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": {
"site": "<site>",
"path": "<path>"
},
"name": "delete_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path relative to the website root (public_html), e.g. "index.html" or "css/style.css". Start with "~/" for the private account home folder. | |
| site | Yes | The website's domain, as shown by list_sites (e.g. "example.com" or "name.hostingfor.ai"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| type | No | ||
| deleted | Yes |