delete_node
Remove a specific node from a workflow in the n8n-workflow-builder-mcp by specifying the workflow name and node ID, with optional workflow path support.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
node_id | Yes | The ID of the node to delete | |
workflow_name | Yes | The Name of the workflow containing the node | |
workflow_path | No | Optional direct path to the workflow file (absolute or relative to current working directory). If not provided, uses standard workflow_data directory approach. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"node_id": {
"description": "The ID of the node to delete",
"type": "string"
},
"workflow_name": {
"description": "The Name of the workflow containing the node",
"type": "string"
},
"workflow_path": {
"description": "Optional direct path to the workflow file (absolute or relative to current working directory). If not provided, uses standard workflow_data directory approach.",
"type": "string"
}
},
"required": [
"workflow_name",
"node_id"
],
"type": "object"
}