workflow_delete_node
Delete a node from a workflow. This will also remove any edges connected to the node. Use when editing a draft. Do not use to activate or run a candidate. Next step: validate, guard, save with workflow_save_version, then call workflow_test_run for a first version. Edits update one open draft; PII can be a warning, but new PII in agent or MCP saves blocks.
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": {
"workflowId": "<workflowId>",
"nodeId": "<nodeId>"
},
"name": "workflow_delete_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to delete | |
| workflowId | Yes | The workflow ID | |
| versionLabel | No | Optional label for this version (e.g. "Removed duplicate node"). If omitted, defaults to "Version N". |