n8n_update_workflow
Update an existing n8n workflow by providing its ID and the full updated workflow JSON, enabling modification of automation workflows through AI assistants.
Instructions
Update an existing n8n workflow. Send the full updated workflow JSON.
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_json": "<workflow_json>"
},
"name": "n8n_update_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_name | No | Server name. Uses default if omitted. | |
| workflow_id | Yes | n8n workflow ID to update | |
| workflow_json | Yes | Full workflow JSON as string |