update_workflow
Modify an existing n8n workflow by supplying its full definition—name, nodes, connections, and settings—to apply changes through the n8n REST API.
Instructions
Update an existing workflow. Requires the full workflow definition (name, nodes, connections, 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": {
"id": "<id>",
"name": "<name>",
"nodes": "<nodes>",
"connections": "<connections>",
"settings": "<settings>"
},
"name": "update_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Workflow ID to update | |
| name | Yes | Workflow name | |
| nodes | Yes | Array of node objects | |
| settings | Yes | Workflow settings | |
| connections | Yes | Connections object |