Copy an A/B variant
copy_campaign_step_variantUse this when the user wants both variants of an A/B split to start from the same steps, so that one thing can be changed and compared. Replaces the steps of one variant with copies of the other's; the steps it replaces are gone. stepId is the split step. Free.
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>",
"stepId": "<stepId>",
"fromBranchKey": "<fromBranchKey>",
"toBranchKey": "<toBranchKey>"
},
"name": "copy_campaign_step_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stepId | Yes | The step's id, as the campaign's steps list gives it. | |
| campaignId | Yes | The campaign's id. | |
| toBranchKey | Yes | The other variant, whose steps the copies replace. | |
| fromBranchKey | Yes | The variant to copy: `a` or `b`. |