clone_node
Duplicate a Figma node and reposition it using parent-relative or absolute frame coordinates for precise placement.
Instructions
Clone an existing node in Figma. By default x/y are PARENT-RELATIVE (same coordinate space as Figma's x/y). Set positionMode to "frame" to pass absolute canvas coordinates instead, which are converted to the parent's local space. The response returns both the parent-relative position and the absolute bounding box so you can verify placement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | New X position for the clone (parent-relative by default; absolute when positionMode is "frame") | |
| y | No | New Y position for the clone (parent-relative by default; absolute when positionMode is "frame") | |
| nodeId | Yes | The ID of the node to clone | |
| positionMode | No | How to interpret x/y: "parent" (default, parent-relative) or "frame" (absolute canvas coords, converted internally) |