duplicate_node
Clone nodes in Figma with specified positions, offsets, or parent attachments. Supports single or batch cloning, returning IDs of newly created nodes for further operations.
Instructions
Clones one or more nodes in Figma. Accepts either a single node config (via 'node') or an array of configs (via 'nodes'). Optionally, you can specify positions, offsets, and parent.
Returns:
content: Array of objects. Each object contains a type: "text" and a text field with the new node ID(s).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
node | No | A single node clone configuration. Optional. | |
nodes | No | An array of node clone configurations for batch cloning. Optional. |