Add an A/B variant
add_variantAdd the next A/B variant (B, C or D; max 4) to a step. Fields you omit are copied from variant A, so sending only subject tests a subject line. Prospects are split between active variants at send time; compare them with get_campaign_stats.
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": {
"id": "<id>",
"step_id": "<step_id>"
},
"name": "add_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Campaign id (uuid). | |
| body | No | ||
| active | No | ||
| step_id | Yes | Step id from list_steps. | |
| subject | No | ||
| content_format | No |