Validate a workflow
validate_workflowCheck an n8n workflow JSON against Gydmation's real node schemas:
connections (no orphaned nodes), credential structure, node-type
casing and AI-node requirements (an Agent needs a language model).
Applies safe deterministic fixes without any AI call. Returns the
checked (and repaired) workflowJSON, ready to paste into n8n.
Args:
workflow_json: The complete n8n workflow JSON.
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": {
"workflow_json": "<workflow_json>"
},
"name": "validate_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_json | Yes |