comfy_connect_nodes
Link nodes in a ComfyUI workflow by specifying source node, output index, target node, and input name to establish data flow.
Instructions
Connect two nodes in a workflow.
Args: workflow: The workflow dictionary source_node: ID of the source node source_output: Output index on the source node target_node: ID of the target node target_input: Input name on the target node
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow | Yes | ||
| source_node | Yes | ||
| target_node | Yes | ||
| target_input | Yes | ||
| source_output | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |