create_component_instance
Instantiate a component in Figma by specifying position (x, y) and optionally selecting the component via key or node ID, and attaching it to a parent node.
Instructions
Create an instance of a component in Figma
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| componentKey | No | Key of the component to instantiate (for remote/library components) | |
| componentId | No | Node ID of the component to instantiate (preferred for local components) | |
| x | Yes | X position | |
| y | Yes | Y position | |
| parentId | No | Optional parent node ID to append the instance to | |
| parentNodeName | No | Name of the parent node to verify against |