Set Active Variant
set_active_variantSets the project's active variant for the specified content type. Does not delete or rewrite the other variants.
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": {
"projectId": "<projectId>",
"contentType": "<contentType>",
"variantId": "<variantId>"
},
"name": "set_active_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project id (list_projects/get_project); design tools call it generationId. | |
| variantId | Yes | ||
| contentType | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| widgetDataJson | No |