sch_run_erc
Run Electrical Rules Check on a KiCad schematic to detect structural errors and warnings. Get counts and a report path, helping fix issues before PCB layout.
Instructions
Run KiCad's Electrical Rules Check (ERC) on a schematic via kicad-cli. Returns counts of errors and warnings plus a path to the full report. Errors > 0 means the schematic has structural problems that should be fixed before layout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sch_path | No | Optional schematic path. Defaults to the active project's .kicad_sch. |