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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sch_run_erc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sch_path | No | Optional schematic path. Defaults to the active project's .kicad_sch. |