proj_set_active_variant
Switch the active project variant, optionally for a specified project path, to make the selected variant the design's active configuration.
Instructions
Switch the active project variant.
Args: variant_name: Name of the variant to activate project_path: Optional project path. If None, uses active project.
Returns: Dictionary confirming the switch
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": {
"variant_name": "<variant_name>"
},
"name": "proj_set_active_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | No | ||
| variant_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||