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.
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": {
"schematicPath": "<schematicPath>"
},
"name": "get_wire_connections"
}
}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 |