list_unconnected_pins
Runs Electrical Rule Check on KiCad schematics to list unconnected pins, auto-resolving to the root sheet to prevent false positives from hierarchical labels.
Instructions
List unconnected pins by running ERC and filtering results.
Requires kicad-cli. Auto-redirects to root schematic for sub-sheets
to avoid false positives from hierarchical label context.
Args:
schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default.
output_dir: Directory for ERC report file. Optional; omit to use the configured default.
project_path: Path to .kicad_pro file for explicit root resolution
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No | ||
| project_path | No | ||
| schematic_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| pins | Yes | ||
| unconnected_count | Yes |