n8n_delete_workflow
Deletes an n8n workflow by ID, automatically deactivating it first if active; requires confirm=true to proceed.
Instructions
Delete a workflow. Auto-deactivates first if active.
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>",
"confirm": "<confirm>"
},
"name": "n8n_delete_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true to delete | |
| workflowId | Yes | Workflow ID |