Update widget properties
appsmith_update_widgetUpdates widget properties on an Appsmith page, setting values or dynamic {{ }} bindings while automatically managing binding registration and leaving other widgets untouched.
Instructions
Sets properties on a widget, e.g. {"isDisabled": "{{ appsmith.store.modo === "edicion" }}"}. Binding registration is handled automatically: a value containing {{ }} is added to the widget's dynamicBindingPathList, and a literal value is removed from it. Property names may be dot paths for nested config. Other widgets on the page are left untouched.
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": {
"pageId": "<pageId>",
"widgetName": "<widgetName>",
"properties": "<properties>"
},
"name": "appsmith_update_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Page id. | |
| properties | Yes | Properties to set, as {"name": value}. Values may be literals or {{ }} bindings. | |
| widgetName | Yes | Widget name as shown in the editor, e.g. spoa. |