mcp_delete_theme
Delete an inactive WordPress theme by stylesheet; the active theme is refused to prevent site breakage.
Instructions
Delete an inactive theme (the active theme is refused)
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>",
"stylesheet": "<stylesheet>"
},
"name": "mcp_delete_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| stylesheet | Yes | Theme stylesheet (folder name) |