update-workflow
Update an existing n8n workflow by providing the workflow ID and properties to modify.
Instructions
Update an existing workflow in n8n. IMPORTANT: Arguments must be provided as compact, single-line JSON without whitespace or newlines.
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": {
"clientId": "<clientId>",
"id": "<id>",
"workflow": "<workflow>"
},
"name": "update-workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Workflow ID | |
| clientId | Yes | Client ID from init-n8n | |
| workflow | Yes | Workflow properties to update |