combine_variants
Combine selected Figma components into a component set and name each variant using Prop=Value syntax. Set layout, fills, and radius to organize reusable variant families.
Instructions
Combine components into a component set (variants). Name each component 'Prop=Value'.
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": {
"ids": "<ids>"
},
"name": "combine_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Component node ids | |
| name | No | Component set name | |
| fills | No | ||
| layout | No | { mode, gap, pad } to lay out the set | |
| radius | No | ||
| parentId | No |