copy_split_arm_tool
DESTRUCTIVE for the target arm: replaces every step of one arm of an A/B split (sequenceStepId is the split's id) with copies of the other arm's steps, nested conditions and their lanes included (voice-note scripts are not copied), so the two arms can then differ in one step. fromBranchKey and toBranchKey are 'a' and 'b'. Only before the campaign starts. Only call after the user has confirmed replacing that arm's steps.
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>",
"sequenceStepId": "<sequenceStepId>",
"fromBranchKey": "<fromBranchKey>",
"toBranchKey": "<toBranchKey>"
},
"name": "copy_split_arm_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaignId | Yes | ||
| toBranchKey | Yes | The arm whose steps are replaced by the copies: the other arm. | |
| fromBranchKey | Yes | The arm to copy from: 'a' or 'b'. | |
| sequenceStepId | Yes |