n8n_update_workflow_json
Deploy a complete n8n workflow from a JSON string: parse it, run validation and auto-fixes, update the workflow, and optionally activate it after deployment.
Instructions
Deploy a complete workflow from JSON string. Parses the JSON, runs pre-flight validation/auto-fix, PUTs the update, and optionally activates. Use this for 'edit local file → deploy' patterns instead of raw curl.
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>",
"json": "<json>"
},
"name": "n8n_update_workflow_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | Complete workflow JSON as a string | |
| activate | No | Activate after deploy (default: false) | |
| workflowId | Yes | Workflow ID to update |