Update a step
update_campaign_stepUse this when the user wants to change one step: a manual step's subject and body (sent together, they replace its whole message), an AI step's topic, the days it waits, or an A/B split's weights. A condition takes only its waiting window. It answers the step's id only. 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>"
},
"name": "update_campaign_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | A `manual` step's new message, sent with `subject`. On a `linkedin_connection` step, the invitation note, up to 200 characters. | |
| topic | No | What an AI step should say. Its title is written again from it. | |
| stepId | Yes | The step's id, as the campaign's steps list gives it. | |
| subject | No | A `manual` step's new subject line, sent with `body`: the two replace the step's whole message. | |
| splitArms | No | An A/B split's variants, its only field: both, `a` then `b`, with weights adding up to 100. Leads not yet written to follow the new weights. | |
| campaignId | Yes | The campaign's id. | |
| daysBetween | No | Days to wait after the step before, 0 to 365. On a condition, its window, 1 to 30, and the only field it takes. |