Theme Debug Enable
theme_debug_enableEnable theme debugging for a Drupal site to expose Twig template suggestions, debug comments, and rendering insights. Provide the machine name to activate Twig debug output.
Instructions
Enable theme debugging (Twig debug, etc.).
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>"
},
"name": "theme_debug_enable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| machine_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||