remove_workspace_nodes
Delete selected nodes from the workflow graph. The operation removes all attached links, and the whole batch is a single undo step.
Instructions
Delete nodes from the workflow open in the browser.
The whole batch is one undo step and nothing is removed unless every id
exists. The response reports links_lost per node: deleting a node unwires
everything attached to it, which is not part of what the caller asked for and
cannot be seen from an id alone.
To take a node out of the picture without losing its wiring, prefer set_workspace_node_modes - bypassing passes inputs straight through.
Args: nodes: node ids, from get_workspace_graph. 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 |
|---|---|---|---|
| nodes | Yes | ||
| scope | No | root | |
| client_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||