reparent_widgets
Change the parent of multiple widgets in one call while preserving their positions. New parent must be a canvas widget; adjust bounds afterward if needed.
Instructions
Reparent multiple widgets in one tool call. Each entry is {"widget_id": <id>, "new_parent_id": <id>}. The new parent must accept children (a CANVAS_WIDGET).
Position is preserved verbatim — call set_widget_bounds afterwards if the
new parent's snap dimensions differ.
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": {
"updates": "<updates>"
},
"name": "reparent_widgets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes |