delete_sequence_step_tool
DESTRUCTIVE: deletes a single sequence step by its id. Deleting a condition step (an A/B split included) also deletes both of its lanes (a split's two arms) and every step in them. The deleted steps' attachment files are permanently deleted too, also for any other campaign whose steps use them: a copy made with duplicate_campaign_tool shares its original's files, so they are deleted for both the copy and the original. That other campaign's steps still list the deleted files, and its messages for those steps, queued or later, then fail to send. It also works on a running campaign whose sequence has no condition step (once a campaign has started, a sequence with a condition cannot lose any step): messages of this step that are already queued still go out, without its attachments and, for emails, as replies in the contact's existing thread; contacts waiting on this step's manual task (calls excepted) skip it, and their next step is written and queued. Writing that next step costs 10 credits when it is AI-written or AI-personalized, and if credits or a usable sender account are missing the campaign is paused instead, with an in-app notice (and a Slack message if Slack is connected). Only call after the user has explicitly confirmed removing that step.
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": {
"sequenceStepId": "<sequenceStepId>"
},
"name": "delete_sequence_step_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sequenceStepId | Yes |