reparent_nodes
Move specified nodes into a different parent node, optionally at an index. Nodes that no longer exist are skipped, and the tool returns how many nodes were affected.
Instructions
Move nodes into a different parent, optionally inserting at index (default: appended last). On-screen positions may shift because coordinates become relative to the new parent; nodes that no longer exist are skipped. To reorder within the current parent use reorder_nodes; to wrap nodes in a new frame/group use group_nodes. Returns { ok, affected }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Optional insertion index within the new parent | |
| nodeIds | Yes | Node ids to move | |
| newParentId | Yes | Id of the parent to move them into |