create_component_instance
Create an instance of a Figma component by specifying position and optional parent or component identifiers.
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": {
"x": "<x>",
"y": "<y>"
},
"name": "create_component_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position | |
| y | Yes | Y position | |
| parentId | No | Optional parent node ID to append the instance to | |
| componentId | No | Node ID of a local component to instantiate | |
| componentKey | No | Key of the component to instantiate (for published components) |