Create Instance
create_instanceInstantiate a Figma component at specified coordinates by using its component key or ID. Place the new instance under a parent node to reuse design elements.
Instructions
Instantiate a component (by componentKey or componentId) at a position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position | |
| y | Yes | Y position | |
| parentId | Yes | Parent node ID to append the instance to | |
| componentId | No | Node ID of the component to instantiate (preferred for local components) | |
| componentKey | No | Key of the component to instantiate (for remote/library components) | |
| parentNodeName | Yes | The parent node's current exact name, passed back verbatim from `node_info`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ID of the created component instance | |
| name | No | Name of the component instance | |
| error | No | ||
| parentId | No | ID of the parent the instance was placed into — confirm containment without a follow-up read | |
| componentId | No | ID of the component the instance was created from |