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).
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 |