combine_as_variants
Merge COMPONENT nodes into a component set (variants) by naming each with variant properties like Style=Geste; place the new set in a specified parent or the first component's parent.
Instructions
Combine COMPONENT nodes into a component set (variants). Name each component beforehand like "Style=Geste, Taille=Normale" to define the variant properties. The set is created in parentId, or in the parent of the first component.
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": {
"nodeIds": "<nodeIds>"
},
"name": "combine_as_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the set | |
| nodeIds | Yes | IDs of the components | |
| parentId | No | Parent of the new set |