Clone a widget
appsmith_clone_widgetClone an existing Appsmith widget on a page to create a new one, applying property overrides while preserving inner bindings.
Instructions
Copies an existing widget (and everything inside it) into the same page under a new name, then applies any property overrides. This is how to add a widget: Appsmith's widget defaults live in its frontend, not its API, so copying a real widget of the wanted type is what produces a valid one. The copy lands below its siblings. Bindings inside the copy are carried over as-is, so any that named the source widget still point at the original — the response lists what was renamed so they can be fixed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Page containing the widget to copy. | |
| properties | No | Properties to override on the copy, as {"name": value}. Bindings are registered automatically. | |
| newWidgetName | Yes | Name for the copy. Must not already exist on the page. | |
| sourceWidgetName | Yes | Widget to copy, e.g. spoa. |