insert_child
Change a node's parent in Figma by specifying the new parent and child nodes, with optional index positioning.
Instructions
Reparent a node to a new parent
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parentId | Yes | ID of the new parent node | |
| parentNodeName | Yes | Name of the parent node to verify against | |
| childId | Yes | ID of the child node to reparent | |
| childNodeName | Yes | Name of the child node to verify against | |
| index | No | Position in parent's children array (default: append) |