comfyui_remove_node
Remove a node from a ComfyUI workflow; enable force to also disconnect all inputs that reference it.
Instructions
Remove a node; force=true also disconnects inputs that reference the node.
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": {
"workflow_name": "<workflow_name>",
"node_id": "<node_id>"
},
"name": "comfyui_remove_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| node_id | Yes | ||
| workflow_name | Yes | ||
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||