Connect Nodes
connect_nodesCreates a directed connection between two canvas nodes to define workflow relationships by specifying source and target node IDs.
Instructions
Create a connection edge between two canvas nodes.
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": {
"sourceNodeId": "<sourceNodeId>",
"targetNodeId": "<targetNodeId>"
},
"name": "connect_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceNodeId | Yes | ||
| targetNodeId | Yes |