move_widget
Move a widget to a different parent or reposition it within the same parent. Uses two-call confirmation to ensure correct placement.
Instructions
Move a widget to a different parent (or different position in the same parent). Re-reads to confirm new parent. Two-call confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | ||
| page_id | Yes | ||
| widget_id | Yes | ||
| new_parent_id | Yes | ||
| position | No | 0-based position in the new parent. -1 = append. | |
| 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 | ||
| widget_id | Yes | ||
| new_parent_id | Yes |