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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"page_id": "<page_id>",
"widget_id": "<widget_id>",
"new_parent_id": "<new_parent_id>"
},
"name": "move_widget"
}
}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 |