set_workspace_node_modes
Mute or bypass nodes in an open ComfyUI workflow to isolate a branch or stop node output, applying changes atomically in one undo 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.
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": {
"modes": "<modes>"
},
"name": "set_workspace_node_modes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modes | Yes | ||
| scope | No | root | |
| client_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||