update_custom_widget
Modify a custom widget's model, name, events, triggers, height mode, and position in an Appsmith app.
Instructions
Update a Custom Widget's model, name, events, triggers, height mode, and/or position.
`default_model` replaces the model the widget reads via `appsmith.model` (dict or JSON
string). `name` renames it. `events` registers the event names the widget can emit
(e.g. `["onRefresh"]`). `triggers` binds those events to expressions, keyed by event
name (e.g. `{"onRefresh": "{{ bootstrap.load() }}"}`) — each is wired into the widget's
dynamicTriggerPathList automatically. `dynamic_height` is `"AUTO_HEIGHT"` or `"FIXED"`.
`left`/`top`/`columns`/`rows` move/resize it. Source code (html/css/js) is not editable
here — use patch_widget_code for targeted in-place source edits.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| left | No | ||
| name | No | ||
| rows | No | ||
| events | No | ||
| columns | No | ||
| triggers | No | ||
| widget_id | Yes | ||
| default_model | No | ||
| dynamic_height | No |