set_theme_color
Assign a hex color to a theme property for a specific control type in Godot.
Instructions
Set a color in a theme for a specific control type
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>",
"color": "<color>"
},
"name": "set_theme_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Color name (e.g. 'font_color', 'font_hover_color') | |
| path | Yes | Theme resource path | |
| color | Yes | Color value as hex (e.g. '#FF0000') or named color | |
| theme_type | Yes | Control type (e.g. 'Button', 'Label', 'Panel') |