validate_workflow
Validate a ComfyUI workflow for correctness without executing it: checks that node classes exist, required inputs are connected, connections are type-compatible, and an output node is present.
Instructions
Validate a workflow for correctness without executing it.
Checks: all node class_types exist, required inputs connected, connection type compatibility, output node exists.
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_id": "<workflow_id>"
},
"name": "validate_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | The workflow to validate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||