update_component_property
Update a component's property (e.g., Text, Width) by specifying screen, component, property name, and new value. Works with multiple strategies in Designer view.
Instructions
Updates a property of a component. Uses 3 strategies in order: (1) GWT BlocklyPanel_setComponentProperty API, (2) top-frame API (iframe-hosted IDEs), (3) DOM input field in the Properties sidebar. Requires Designer view.
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": {
"screenName": "<screenName>",
"componentName": "<componentName>",
"propName": "<propName>",
"propValue": "<propValue>"
},
"name": "update_component_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| propName | Yes | Property name (e.g. Text, BackgroundColor, Width) | |
| propValue | Yes | New value | |
| screenName | Yes | Screen that owns the component (e.g. Screen1) | |
| componentName | Yes | Target component name (e.g. Button1) |