Create a VWO campaign
vwo_new_campaignCreate a new VWO campaign (experiment) of specified type with primary URL, URL configurations, and goals. Confirm details before calling to affect live traffic.
Instructions
Create a new campaign (experiment) in a VWO workspace. Creates real state that can affect live traffic once started. Confirm type, URLs, and goals with the user before calling.
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": {
"type": "<type>",
"primaryUrl": "<primaryUrl>",
"urls": "<urls>",
"goals": "<goals>"
},
"name": "vwo_new_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Campaign name. | |
| type | Yes | Campaign type — lowercase, hyphenated. Common values: "ab", "split" (Split URL), "multivariate" (not "mvt"), "feature-rollout" (Web Rollout), "feature-test". Not the generic "AB"/"SPLIT_URL"/"MVT" naming. | |
| urls | Yes | URL configuration entries for the campaign, as accepted by VWO. | |
| goals | Yes | Goal definitions to create with the campaign. | |
| 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. | |
| primaryUrl | Yes | Primary URL the campaign runs on. | |
| 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. |