screenshot_workspace
Capture a snapshot of the ComfyUI canvas to visually inspect workflow layout, node overlap, and link positions. Choose framing for whole graph, viewport, or selected nodes.
Instructions
Photograph the ComfyUI canvas: what the workflow looks like, not what it says.
This answers the questions a graph dump cannot - whether the layout reads as a mess, which boxes overlap, where a link crosses the whole screen, what the user means by "that one over there". After a layout change it is the only way to check the result rather than assume it.
It is a picture of the canvas, and that has a hard edge: prompts, image previews, markdown notes and audio players are HTML drawn over the canvas and are not in it. An empty-looking prompt box in the picture says nothing about the prompt - get_workspace_graph is what reads values. The report says how many such widgets the graph has.
Always the graph on screen. To photograph a subgraph, navigate_workspace into it first; the report names which graph it is.
Args: fit: what to frame. "graph" for the whole workflow, "view" for the viewport exactly as the user has it, "selected" for what they have clicked on, or a list of node ids to frame those. A whole large graph is legible only as a shape - for reading titles, frame a handful of nodes. max_edge: longest edge in pixels, 256 to 4096. Bigger reads better and costs more; it does not make a wide graph legible, only a small subset. format: "png" keeps the text crisp and is the right answer for a diagram. "jpeg" and "webp" are smaller and blur it. client_id: which tab to ask; defaults to the most recently focused one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | graph | |
| format | No | png | |
| max_edge | No | ||
| client_id | No |