set_theme_font_size
Sets a font size entry for a specific Control class in a Godot Theme resource, letting you define UI text sizes by node type and entry name.
Instructions
Set a font size 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>",
"size": "<size>"
},
"name": "set_theme_font_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Font size entry name | |
| size | Yes | Font size in pixels | |
| node_type | Yes | Control class | |
| theme_path | Yes | res:// path to the theme |