Theme Template Override
theme_template_overrideCreate a Drupal theme template override by specifying machine name and template name, optionally with custom path or content.
Instructions
Create a template override in 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>",
"template_name": "<template_name>"
},
"name": "theme_template_override"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| machine_name | Yes | ||
| template_name | Yes | ||
| template_content | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||