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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shapeIds | Yes | Shape IDs to reparent | |
| newParentId | Yes | New parent ID (frame, group, or page) |