delete_node
Remove a node from an n8n workflow by workflow ID and node ID. Optionally cascade-delete all connections to and from the node to keep the workflow clean.
Instructions
Delete a node from a workflow
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": "delete_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The node ID to delete | |
| workflowId | Yes | The workflow ID | |
| cascadeDelete | No | Delete all connections to/from this node |