duplicate_widget
Clone a widget directly after the original on the same page, assigning a new ID, with duplicate check and confirmation.
Instructions
Duplicate a widget in place (right after the original). The clone gets a new id. Re-reads to confirm the clone persisted. Two-call confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | ||
| page_id | Yes | ||
| widget_id | Yes | ||
| confirmation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| page_id | Yes | ||
| confirmation_token | No | ||
| backup_meta_key | No | ||
| css_flush | No | ||
| mutated | No | ||
| warnings | No | ||
| verification | No | ||
| source_widget_id | Yes | ||
| new_widget_id | No |