Workflows: step delete
workflows_step_deleteDelete a step from a workflow and warn when other steps still link to it. Re-point linked steps first, then confirm before removal.
Instructions
Delete a step from a workflow (warns if other steps link to it). The API refuses to delete a step that other steps still point to through on_success or on_failure, so re-point those with workflows_step_link first. Deleting the start step leaves the workflow with no entry point until a new step is added with start. It changes or deletes existing data, so check with the user before running it.
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": {
"workflow_id": "<workflow_id>",
"step_id": "<step_id>"
},
"name": "workflows_step_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step_id | Yes | Step ID to delete | |
| workflow_id | Yes | Workflow ID. Find it with workflows_list. |