update_workflow
Update an existing n8n workflow by ID, including name, nodes, connections, and settings. Active workflows are republished unless publishIfActive is set to false.
Instructions
Update an n8n workflow. Published workflows are republished unless publishIfActive is false.
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": "update_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| nodes | No | ||
| pinData | No | ||
| settings | No | ||
| nodeGroups | No | ||
| staticData | No | ||
| workflowId | Yes | Opaque n8n resource ID | |
| connections | No | ||
| description | No | ||
| parentFolderId | No | ||
| publishIfActive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||