connect
Join two ports to form a junction (tee). Returns the connections and the ports still unconnected, confirming the system layout.
Instructions
Connect two ports. Connecting several ports to one node forms a junction (tee).
Errors name the offending port and list the instance's valid ports. Returns the connections and the ports still unconnected (unconnected ports are capped).
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": {
"system_id": "<system_id>",
"a": "<a>",
"b": "<b>"
},
"name": "connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | Port path '<instance>.<port>', e.g. 'mains.port'. | |
| b | Yes | Port path, e.g. 'valve.port_a'. | |
| system_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| system_id | Yes | ||
| components | Yes | ||
| connections | Yes | ||
| description | No | ||
| unconnected_ports | Yes |