get_campaign_sequence_steps_tool
Lists a campaign's sequence steps WITH their step ids (each step's _id), channels, wait days, and content. The returned _id values are the campaign's real step ids, usable wherever a sequenceStepId is required. Steps form a tree: a step with channel 'condition' (conditionType 'invite_accepted' or 'clicked_link'; its daysBetween is the window in days) is always the last step of its list and splits the sequence into two lanes, the steps whose parentStepId is the condition's id with branchKey 'yes' or 'no'. Root-list steps have parentStepId null. sequenceNumber is the step's position in that tree, read depth-first (a condition, then its yes lane, then its no lane). An A/B split is a condition with conditionType 'ab_split' and daysBetween 0: its two lanes are its arms, branchKey 'a' and 'b' (read a then b), and its splitArms holds each arm's optional name (label) and whole-percent weight, the share of contacts routed to that arm (each contact's arm comes from a fixed hash of the contact and the split, so it keeps its arm).
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>"
},
"name": "get_campaign_sequence_steps_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaignId | Yes |