node_connect
Connects two workflow nodes to define execution flow and branch routing, letting you set the source output, target node, and connection type.
Instructions
Connect two nodes together to create an execution flow
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": {
"node_from": "<node_from>",
"node_to": "<node_to>"
},
"name": "node_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_to | Yes | The target node ID (execution flows to this node) | |
| edge_type | No | Type of the connection, CONDITION for outputs of condition nodes | |
| node_from | Yes | The source node ID (execution flows from this node) | |
| connection_index | No | Output of the source node to connect. For CONDITION nodes: 0 is the "true" output, 1 is the "false" output. Default 0 |