set_theme_stylebox
Sets a StyleBox entry in a Godot Theme resource to define or override control styles by node type, state name, and StyleBox type.
Instructions
Set a StyleBox entry in a Theme resource.
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_path": "<theme_path>",
"node_type": "<node_type>",
"name": "<name>",
"stylebox_type": "<stylebox_type>"
},
"name": "set_theme_stylebox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | StyleBox entry name (e.g. normal, hover) | |
| node_type | Yes | Control class | |
| properties | No | StyleBox property overrides | |
| theme_path | Yes | res:// path to the theme | |
| stylebox_type | Yes | StyleBox class (StyleBoxFlat, StyleBoxTexture, etc.) |