Set a variant's status
variant_set_statusActivate, pause or archive a variant. Only active variants are served. To change which variant is the control, use variant_set_control.
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": {
"surface_id": "<surface_id>",
"variant_id": "<variant_id>",
"status": "<status>"
},
"name": "variant_set_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ACTIVE serves it; PAUSED and ARCHIVED stop serving it. | |
| surface_id | Yes | The surface id, from surface_list. | |
| variant_id | Yes | The variant id, from variant_list. |