set_parent
Move a Figma node into a new parent such as a section, frame, or group. Keeps the node's absolute position unless you pass x/y coordinates.
Instructions
Move a node into a new parent node (e.g. a section, frame or group). Preserves the node's absolute position unless x/y are provided
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Optional X position relative to the new parent | |
| y | No | Optional Y position relative to the new parent | |
| index | No | Optional child index to insert at (default: appended as last child) | |
| nodeId | Yes | The ID of the node to move | |
| parentId | Yes | The ID of the new parent node (must support children, e.g. a section, frame or group) |