create_instance
Creates a component instance in a target Figma file from a local component id or library component key, letting you place and customize instances by position, parent, and property values.
Instructions
Create an instance of a local component (id) or a library component/component set (key).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| file | No | Target file (fileKey, id or name). Defaults to the most recently active file. | |
| parentId | No | ||
| properties | No | Instance property values, e.g. {"Size":"Large"} | |
| componentId | No | ||
| componentKey | No | ||
| isComponentSet | No | Set when componentKey is a component set key (uses its default variant) |