Theme Base Change
theme_base_changeChange a Drupal theme's base theme using its machine name and the new base theme. Useful for switching a subtheme's parent theme without manual code edits.
Instructions
Change the base theme.
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": {
"machine_name": "<machine_name>",
"new_base_theme": "<new_base_theme>"
},
"name": "theme_base_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| machine_name | Yes | ||
| new_base_theme | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||