run_erc
Run KiCad ERC on a schematic using project severities and add annotation checks for unannotated symbols, duplicate references, and inconsistent unit values.
Instructions
Run the ERC of kicad-cli on a schematic, with the annotation check of the ERC dialog.
The tool uses the severities of the project. It also runs the annotation check of the ERC dialog of KiCad (symbols that are not annotated, duplicate references, units with different values), which kicad-cli does not run.
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": "run_erc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schematic_path | Yes | A .kicad_sch file of the project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |