diagnose_workspace
Diagnose an open ComfyUI workflow against schemas and report issues worst first: missing node types, unconnected inputs, mismatched links, out-of-range values, and muted/bypassed nodes, with fixes.
Instructions
Report what is wrong with the workflow open in the browser, worst first.
Reads the live graph and checks it against ComfyUI's own node schemas: node types that are not installed, required inputs with nothing plugged in, links whose types do not match, widget values outside the declared range, and inputs a node no longer has. Muted and bypassed nodes are reported too - they are the commonest reason a workflow "does nothing" while looking fine.
Defaults to scope="all" because a workflow built from subgraphs keeps almost
everything that can break inside them; checking only the top level would pass a
graph that cannot run.
Each finding names the node and, where there is one, a fix - the other
workspace tools are what applies it: set_workspace_links to rewire,
set_workspace_values to bring a value into range, set_workspace_node_modes to
un-mute, add_workspace_node to replace something missing.
A clean report is not a promise the run will succeed: ComfyUI validates more at queue time, and a value can be legal and still wrong.
Args: scope: "all", "root" or "active" - see get_workspace_graph. refresh_schemas: re-fetch /object_info first. Schemas are cached for the life of the process, so pass this after installing nodes or models. client_id: which tab to inspect; defaults to the most recently focused one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | all | |
| client_id | No | ||
| refresh_schemas | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||