Update campaign step
update_campaign_stepReplace one email's delay and content, and set or clear its branch: an if/else check delay_days after the send, whose true path starts empty (add steps to it with add_campaign_step if_true) and whose false path keeps what followed the step. branch null clears a branch whose true path is empty, or keeps a plain step plain. Every field is required: read the step with get_campaign_step first and send back what should stay. The step keeps its id and 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": {
"step_id": "<step_id>",
"delay_days": "<delay_days>",
"subject": "<subject>",
"preview_text": "<preview_text>",
"html": "<html>",
"markdown": "<markdown>",
"template_id": "<template_id>",
"branch": "<branch>"
},
"name": "update_campaign_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The body as HTML. Null when you send markdown or a template_id. | |
| branch | Yes | ||
| step_id | Yes | ||
| subject | Yes | ||
| markdown | Yes | The body as markdown. Null when you send html or a template_id. | |
| delay_days | Yes | ||
| template_id | Yes | Copy a template's subject, preview text and body; then subject, preview_text, html and markdown are null. | |
| preview_text | Yes | The line inbox previews show after the subject. |