Clone Node
node_cloneDuplicates an existing Figma node, optionally repositioning it at new x/y coordinates and returns a new node id.
Instructions
Duplicate an existing node, optionally at a new x/y. Produces a new node id.
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>",
"nodeName": "<nodeName>"
},
"name": "node_clone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | New X position for the clone | |
| y | No | New Y position for the clone | |
| nodeId | Yes | The ID of the node to clone | |
| nodeName | Yes | The node's current exact name, passed back verbatim from `node_info`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ID of the new cloned node | |
| name | No | Name of the cloned node | |
| error | No | ||
| parentId | No | ID of the parent the clone was placed into — confirm containment without a follow-up read |