set_theme_stylebox
Modify a Godot theme's StyleBox by specifying the control type, style name (normal/hover/pressed), and properties like background color or border width.
Instructions
Set a StyleBox in a 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": {
"path": "<path>",
"theme_type": "<theme_type>",
"name": "<name>",
"properties": "<properties>"
},
"name": "set_theme_stylebox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | StyleBox name (e.g. 'normal', 'hover', 'pressed') | |
| path | Yes | Theme resource path | |
| properties | Yes | StyleBox properties (e.g. bg_color, border_width) | |
| theme_type | Yes | Control type |