n8n_validate_workflow
Validate n8n workflow JSON before creating or updating. Checks node names, types, required parameters, and connections to prevent errors.
Instructions
Validate a workflow JSON before creating or updating it. Checks node names, types, required parameters, and connections. Always call this before n8n_create_workflow or n8n_activate_workflow.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "n8n_validate_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| nodes | No | ||
| workflowId | No | If set, validate the workflow already stored in n8n | |
| connections | No |