clone_node_into_parent
Clone a node and append the copy to a specified parent container—frame, section, group, auto-layout, slot, or page—joining auto-layout flow unless dx/dy offsets force absolute placement.
Instructions
Clone a node and append it into a specified parent container (frame, section, group, auto-layout, slot, or page). In auto-layout parents the copy joins the flow unless dx/dy are non-zero (then it is set to absolute positioning).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"nodeId": "<nodeId>",
"parentNodeId": "<parentNodeId>"
},
"name": "clone_node_into_parent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dx | No | ||
| dy | No | ||
| name | No | Name for the copy. Defaults to the source name. | |
| index | No | Insert the copy at this child index instead of appending at the end. | |
| nodeId | Yes | ||
| parentNodeId | Yes |