combine_as_variants
Group separate Figma components into a variant set and arrange them to avoid overlap.
Instructions
Combine existing component nodes into a component set and lay them out to avoid overlap.
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": {
"componentIds": "<componentIds>"
},
"name": "combine_as_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | ||
| gapX | No | ||
| gapY | No | ||
| name | No | ||
| index | No | ||
| columns | No | ||
| componentIds | Yes | ||
| parentNodeId | No |