WordPress: Wp theme file delete
wordpress_specialist_wp_theme_file_deleteDelete a file from a WordPress theme using site, theme slug, and path, while blocking removal of the active theme's style.css to prevent front-end breakage.
Instructions
[UNIFIED] Delete a file inside a theme. Path resolution is identical to wp_theme_file_read (S-16). Refuses to delete style.css of the active theme — that would break the front-end. Requires Airano MCP Bridge v2.14.0+ and edit_themes.
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>",
"theme_slug": "<theme_slug>",
"path": "<path>"
},
"name": "wordpress_specialist_wp_theme_file_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| site | Yes | ||
| theme_slug | Yes |