comfy_inspect_workflow
Scans a ComfyUI workflow JSON to identify custom node classes, separating stock from custom types, and reports a trust level to warn users before executing untrusted workflows.
Instructions
Enumerate custom (non-stock) node class types in a workflow.
Workflow JSON is arbitrary code - custom nodes run Python on the ComfyUI server. This tool surfaces which class_types are NOT in the set of ComfyUI core / first-party node patterns, so an agent can warn the user (or refuse to auto-queue) before submitting a workflow from an untrusted source.
Returns a JSON report with trust_level (stock | mixed | fully_custom),
the stock + custom class lists, and per-warning strings.
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": "<workflow>"
},
"name": "comfy_inspect_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |