kicad_ctrl_erc
Run Electrical Rules Check on your KiCad schematic. Upload the .kicad_sch file to get a violation report and schematic PDF for review.
Instructions
Station 0a: Run Electrical Rules Check on the schematic.
Uploads the .kicad_sch to the API, which runs kicad-cli sch erc and returns a violation report + schematic PDF for review.
IMPORTANT: Review ERC results before proceeding to netlist diff.
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": {
"project_path": "<project_path>"
},
"name": "kicad_ctrl_erc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | Path to .kicad_pro, .kicad_sch, or project directory |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||