delete_file
Delete a file from your website by providing the site ID and file name. Removes it permanently from storage.
Instructions
Delete a file from a website's storage. Example: 'Delete old-page.html from my website'.
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_id": "<site_id>",
"file_name": "<file_name>"
},
"name": "delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory path. Example: '/', '/images' | / |
| site_id | Yes | The website ID (UUID). Get from list_websites. | |
| file_name | Yes | File name to delete. Example: 'old-page.html' |