apply_theme_to_node
Assigns a Theme resource to a Control node so its styling updates automatically. Provide the node path and theme resource path to apply consistent UI theming.
Instructions
Apply a Theme resource to a Control node.
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>",
"theme_path": "<theme_path>"
},
"name": "apply_theme_to_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | Node path of the Control | |
| theme_path | Yes | res:// path to the theme |