validate_workflow
Validate n8n workflows for structure, connections, expressions, and AI tools. Identifies errors, warnings, and fixes to ensure accuracy before deployment.
Instructions
Full workflow validation: structure, connections, expressions, AI tools. Returns errors/warnings/fixes. Essential before deploy.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
options | No | Optional validation settings | |
workflow | Yes | The complete workflow JSON to validate. Must include nodes array and connections object. |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"options": {
"description": "Optional validation settings",
"properties": {
"profile": {
"default": "runtime",
"description": "Validation profile for node validation. Default \"runtime\".",
"enum": [
"minimal",
"runtime",
"ai-friendly",
"strict"
],
"type": "string"
},
"validateConnections": {
"default": true,
"description": "Validate node connections and flow. Default true.",
"type": "boolean"
},
"validateExpressions": {
"default": true,
"description": "Validate n8n expressions syntax and references. Default true.",
"type": "boolean"
},
"validateNodes": {
"default": true,
"description": "Validate individual node configurations. Default true.",
"type": "boolean"
}
},
"type": "object"
},
"workflow": {
"description": "The complete workflow JSON to validate. Must include nodes array and connections object.",
"type": "object"
}
},
"required": [
"workflow"
],
"type": "object"
}