comfy_validate_workflow
Run a 6-pass validation on a ComfyUI workflow to detect schema, catalog, graph, cycle, environment, and execution risk issues. Get a structured report to fix problems before running.
Instructions
Validate a workflow with a 6-pass check. Returns structured ValidationReport.
Passes: schema -> catalog -> graph -> anti_cycle -> environment -> execution_risk.
A pre-pass detects ComfyUI editor-format (top-level nodes/links arrays)
and short-circuits with a specific re-export instruction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| errors | No | ||
| passes | No | ||
| warnings | No | ||
| node_count | No |