set_theme_constant
Override a theme constant on a Control in Godot, setting UI values such as separation or margin_left.
Instructions
Add a theme constant override on a Control, such as separation or margin_left
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": {
"node_path": "<node_path>",
"name": "<name>"
},
"name": "set_theme_constant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| value | No | ||
| node_path | Yes |