Change a step in a lead's follow-ups
edit_lead_stepChanges one step of one lead's follow-ups, as the journey list does. Send one or more of: dueAt (ISO time, or null for the plan's timing; must stay after the step before it), channel ('message', 'email', 'call', 'reply', or null for the plan), removed (true takes it out, false puts it back), keep: true (its custom text is still right after the latest conversation). Or addAfter ('message', 'email', 'call' or 'reply') alone to add a step after it (the new step's id comes back). The step's words are your person's to change in the app. step_id comes from the lead's journey. Pass the same idempotency_key when retrying.
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": {
"task_id": "<task_id>",
"step_id": "<step_id>",
"idempotency_key": "<idempotency_key>"
},
"name": "edit_lead_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep | No | ||
| dueAt | No | ||
| channel | No | ||
| removed | No | ||
| step_id | Yes | ||
| task_id | Yes | ||
| addAfter | No | ||
| idempotency_key | Yes | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |