update_widgets
Update widget properties in an Appsmith app with deep merging and automatic binding of triggers and dynamic expressions.
Instructions
Apply property updates to one or more widgets. Each entry is
{"widget_id": <id>, "props": {<prop>: <value>, ...}}.
Dict values are deep-merged with existing state — so to change just one sub-key you
can pass `{"srcDoc": {"css": "..."}}` without resending html/js. Non-dict values are
replaced.
Bindings and triggers are wired automatically:
- properties whose name starts with `on` (e.g. `onClick`) are registered as triggers.
- string values containing `{{...}}` are registered as dynamic bindings.
- any other value is a literal and is removed from the dynamic path lists.
Composite widgets (Statbox) and Modal show/hide are delegated automatically.
Returns a list of per-widget results.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes |