export_erc_report
Run electrical rules checks on a KiCad schematic and save the results as a JSON report file for inspection or automation.
Instructions
Run the ERC of kicad-cli on a schematic and copy its JSON report into a file.
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": {
"schematic_path": "<schematic_path>"
},
"name": "export_erc_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | Optional file of the report. Default: <schematic>_erc_report.json next to the schematic. | |
| schematic_path | Yes | A .kicad_sch file of the project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |