set_theme_stylebox
Set a StyleBoxFlat theme override on a Godot Control to customize its background, border, corner radius, and padding in pixels.
Instructions
Add a StyleBoxFlat theme override on a Control, setting only the supplied background, border, corner radius and padding in pixels
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_stylebox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| padding | No | ||
| bg_color | No | ||
| node_path | Yes | ||
| border_color | No | ||
| border_width | No | ||
| corner_radius | No |