Create component / variant set
figma_create_componentConvert a Figma layer into a component or combine multiple components into a variant set, enabling reusable design elements and organized component variants.
Instructions
Turns a layer into a component (node_id), or combines several components into a variant set (combine_node_ids).
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": "figma_create_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Figma link (or file key) of the file to edit. Needed only when the plugin is open in more than one file. | |
| name | No | ||
| node_id | No | ||
| combine_node_ids | No |