tldraw_reparent_shapes
Reparent multiple shapes by moving them into or out of frames and groups. Set the target parent ID to nest or un-nest shapes within the diagram's hierarchy.
Instructions
Move shapes into or out of frames/groups. Set newParentId to a frame/group ID to nest, or to a page ID to un-nest.
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": {
"shapeIds": "<shapeIds>",
"newParentId": "<newParentId>"
},
"name": "tldraw_reparent_shapes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shapeIds | Yes | Shape IDs to reparent | |
| newParentId | Yes | New parent ID (frame, group, or page) |