Get Wire Connections
get_wire_connectionsRetrieves the net name and all wires/pins connected at a schematic point. Specify a component pin or wire endpoint to trace electrical connections.
Instructions
Returns the net name and all wires and component pins connected at a given point. Accepts either a component reference + pin number (e.g. reference='U1', pin='3') or a schematic coordinate (x, y in mm). Returns net=null for unnamed (unlabelled) nets. The query point must be at a wire endpoint or junction — midpoints are not matched. Use get_schematic_pin_locations or list_schematic_wires to obtain exact endpoint coordinates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate of a wire endpoint in mm. Pair with y. | |
| y | No | Y coordinate of a wire endpoint in mm. Pair with x. | |
| pin | No | Pin number or name (e.g. '3', 'SDA'). Pair with reference. | |
| reference | No | Component reference (e.g. U1, R1). Pair with pin. | |
| schematicPath | Yes | Path to the schematic file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |