comfyui_connect_nodes
Connect a node's output to another node's named input to establish or modify workflow connections.
Instructions
Connect one node output index to a named input on another 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>",
"source_node": "<source_node>",
"source_output": "<source_output>",
"target_node": "<target_node>",
"target_input": "<target_input>"
},
"name": "comfyui_connect_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_node | Yes | ||
| target_node | Yes | ||
| target_input | Yes | ||
| source_output | Yes | ||
| workflow_name | Yes | ||
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||