aism_theme_action
Activate, update, or delete an installed WordPress theme by stylesheet identifier; activation switches themes, while deletion requires themes:delete and excludes active or parent themes.
Instructions
Activate/update/delete an installed theme using its stylesheet identifier from aism_themes_list. Activate another theme to deactivate the current one. Deletion requires themes:delete and cannot remove the active theme or its parent. Updates use the WordPress-advertised package. Multisite mutations are unavailable.
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": {
"theme": "<theme>",
"action": "<action>"
},
"name": "aism_theme_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Configured site name from aism_sites. Omit for the default site. | |
| theme | Yes | ||
| action | Yes |