Delete theme file
delete_theme_fileDelete a custom theme file from a blog. Requires a Pro subscription. Cannot delete built-in-only files.
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": {
"blogId": "<blogId>",
"file_path": "<file_path>"
},
"name": "delete_theme_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blogId | Yes | Blog ID. Use list_blogs to discover available blog IDs. | |
| file_path | Yes | Theme file path relative to the theme root. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |