n8n_delete_workflow
Delete an n8n workflow by ID, saving a JSON backup before removal. Provides a safe, reversible approach to workflow cleanup.
Instructions
Delete a workflow from an n8n server. By default, a JSON backup is saved before deletion.
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>"
},
"name": "n8n_delete_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_name | No | Server name. Uses default if omitted. | |
| workflow_id | Yes | n8n workflow ID to delete |