Update workflow
update_workflowReplace an existing n8n workflow by providing its full JSON. Read-only fields are automatically stripped, keeping only the editable parts.
Instructions
Replace an existing workflow (PUT). Pass the full workflow JSON (typically the result of get_workflow with modifications); read-only fields (id, active, tags, dates) are stripped automatically.
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>",
"workflow": "<workflow>"
},
"name": "update_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the workflow to update | |
| workflow | Yes | Full workflow JSON (name, nodes, connections, settings) |