get_net_connections
Trace a net label in a KiCad schematic to find all connected component pins, helping verify wiring and debug nets before PCB layout.
Instructions
Find all component pins connected to a net label.
Scans labels matching the text, traces wires from label positions,
and identifies component pins at wire endpoints. Each placed symbol
contributes only its own unit's pins, so a multi-unit part does not
report a sibling gate's input as sitting on this net.
Args:
label_text: Net name to search for (e.g. "VCC", "GND")
schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default.
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": {
"label_text": "<label_text>"
},
"name": "get_net_connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label_text | Yes | ||
| schematic_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | Yes | ||
| connections | Yes | ||
| label_count | Yes |