figma_instantiate_component
Create a Figma component instance using a componentKey from search or REST API. Works for library and local components; apply overrides for property edits.
Instructions
Create a component instance. Use componentKey from figma_search_components, figma_search_assets, or REST API. Supports library components (importComponentByKeyAsync) and local components (by nodeId). After creation: use overrides with setProperties({...}) for component properties — do NOT use findAll(TEXT) to modify instance text.
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>"
},
"name": "figma_instantiate_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | ||
| componentKey | Yes |