set_workspace_node_modes
Mute or bypass nodes in a ComfyUI workflow to isolate active parts. Set node modes to always, muted, or bypassed in a single undoable step.
Instructions
Mute or bypass nodes in the workflow open in the browser.
Muted ("never") stops a node producing anything; bypassed passes its inputs straight through to whatever it feeds, which is how a branch is taken out without unwiring it. Both are how a workflow gets narrowed to the part being worked on.
Like set_workspace_values, the whole call is one undo step and nothing changes unless every entry is valid.
Args:
modes: {"<node_id>": "always" | "muted" | "bypassed"}.
scope: "root" for the whole workflow, "active" for the subgraph on screen.
client_id: which tab to edit; defaults to the most recently focused one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modes | Yes | ||
| scope | No | root | |
| client_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||