connect
Wire an output terminal to an unwired input terminal, branch existing output wires, and reject invalid direction, cycles, or occupied sinks.
Instructions
Wire an Output terminal (':Output:') to an unwired Input terminal (':Input:'). An output may feed several inputs: connecting to an output that is already wired branches the existing wire. Fails with TERMINAL_IN_USE if the sink already has a wire, CYCLE if the connection would close a loop, UNKNOWN_TERMINAL for a bad reference, BAD_VALUE if the directions are wrong.
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": {
"tree_id": "<tree_id>",
"source": "<source>",
"sink": "<sink>"
},
"name": "connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | ||
| sink | Yes | ||
| source | Yes | ||
| tree_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||