deactivate_workflow
Deactivates an n8n workflow using its workflow ID, stopping scheduled or triggered executions when a workflow should no longer run. Provide the workflow ID to disable it through the n8n API.
Instructions
Deactivate an n8n 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>"
},
"name": "deactivate_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | Opaque n8n resource ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| message | Yes |