n8n_activate_workflow
Activate or deactivate an n8n workflow by providing its ID and a boolean flag. Manage workflow status to control execution without modifying its configuration.
Instructions
Activate or 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": {
"workflow_id": "<workflow_id>",
"active": "<active>"
},
"name": "n8n_activate_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | Yes | true to activate, false to deactivate | |
| server_name | No | Server name. Uses default if omitted. | |
| workflow_id | Yes | n8n workflow ID |