add_theme_type
Add a control type (like Button, Label, Panel) to a Godot Theme, specifying default font size and font color.
Instructions
Add a control type (font size/color) to 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": {
"theme_path": "<theme_path>",
"type": "<type>"
},
"name": "add_theme_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Control type to add (e.g. "Button", "Label", "Panel") | |
| font_size | No | Default font size for this type | |
| font_color | No | Default font color (e.g. "Color(1, 1, 1, 1)") | |
| theme_path | Yes | Path to .tres Theme file |