create_component_instance
Place a component instance in Figma using its component key and X,Y coordinates. Optionally specify a parent node to nest the instance.
Instructions
Create an instance of a component in Figma
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": {
"componentKey": "<componentKey>",
"x": "<x>",
"y": "<y>"
},
"name": "create_component_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| componentKey | Yes | Key of the component to instantiate | |
| x | Yes | X position (local coordinates, relative to parent) | |
| y | Yes | Y position (local coordinates, relative to parent) | |
| parentId | No | Parent node ID. REQUIRED — server enforces this. Use page node ID for top-level elements. Get page IDs via get_pages tool. |