create_component_instance
Creates a Figma component instance from a component key at the given x and y coordinates.
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 |
|---|---|---|---|
| x | Yes | X position | |
| y | Yes | Y position | |
| componentKey | Yes | Key of the component to instantiate |