Update Workflow
update_workflowReplace an existing n8n workflow's definition with a new one, specifying its ID and full configuration including nodes, connections, and settings.
Instructions
Replace an existing workflow's definition. workflow must include name, nodes, connections, and settings.
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>",
"workflow": "<workflow>"
},
"name": "update_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow | Yes | ||
| workflow_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||