Add labels to a VWO campaign
vwo_add_campaign_labelAdd existing labels to a VWO campaign for organizational purposes without impacting visitor experience. Retrieve label ids from vwo_list_labels.
Instructions
Apply one or more existing labels to a VWO campaign. Labels are organisational only and do not affect what visitors see. Call vwo_list_labels first to get valid label ids.
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": {
"campaignId": "<campaignId>",
"body": "<body>"
},
"name": "vwo_add_campaign_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The label(s) to apply, typically by id. VWO does not publish a schema for this request body; see https://developers.wingify.com/reference/add-labels-to-a-campaign for the accepted fields. The object is sent to VWO as-is. | |
| accountId | No | Numeric VWO workspace (account) id to operate on. Required unless the server has a default workspace configured. If the user referred to a workspace by name, either pass workspaceName instead or call vwo_list_workspaces to look up the id — never guess an id. | |
| campaignId | Yes | VWO campaign id. Call vwo_list_campaigns first if you do not have it. | |
| workspaceName | No | Workspace name to resolve to an id, as an alternative to accountId. Must match exactly one visible workspace, otherwise an error lists the candidates. |