Find Orphaned Wires
find_orphaned_wiresDetect wire segments with dangling endpoints that cause ERC unconnected wire errors in KiCad schematics. Runs without the KiCad UI.
Instructions
Find wire segments with at least one dangling endpoint — not connected to a component pin, net label, or another wire. Orphaned wires cause ERC 'wire end unconnected' errors. Does not require the KiCad UI to be running.
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": "find_orphaned_wires"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schematicPath | Yes | Path to the .kicad_sch schematic file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |