n8n_update_partial_workflow
Apply incremental diff operations to update an n8n workflow, including adding, removing, or modifying nodes and connections, and adjusting settings or tags.
Instructions
Update workflow incrementally with diff operations. Types: addNode, removeNode, updateNode, patchNodeField, moveNode, enable/disableNode, addConnection, removeConnection, updateSettings, updateName, add/removeTag, activate/deactivateWorkflow, transferWorkflow. patchNodeField requires fieldPath (dot path, e.g. "parameters.jsCode") and patches: [{find, replace}]. See tools_documentation("n8n_update_partial_workflow", "full") for details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Workflow ID to update | |
| operations | Yes | Array of diff operations to apply. Each operation must have a "type" field and relevant properties for that operation type. | |
| validateOnly | No | If true, only validate operations without applying them | |
| continueOnError | No | If true, apply valid operations even if some fail (best-effort mode). Returns applied and failed operation indices. Default: false (atomic) |