add_widget
Append a widget to a section, column, or container in an Elementor page. Specify parent container and widget type to add elements like heading, text, button, or image. Confirms addition with a second read.
Instructions
Append a new widget to a parent container (section, column, or container) on a page. Re-reads to confirm the new widget exists under the parent. Two-call confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | ||
| page_id | Yes | ||
| parent_id | Yes | Id of the section/column/container that will receive the widget. | |
| widget_type | Yes | e.g., 'heading', 'text-editor', 'button', 'image'. | |
| settings | No | ||
| 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 | ||
| parent_id | Yes | ||
| widget_type | Yes | ||
| new_widget_id | No |