set_parent
Relocate a node to a new parent frame, section, or group. Keeps its absolute position unless x/y offsets are provided.
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) |