reparent_nodes
Move selected nodes to a new parent in the Figma canvas. Optionally specify insertion index; missing nodes are skipped.
Instructions
Move nodes into a new parent (optionally at index). Nodes that no longer exist are skipped. 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 |