get_erc_violations
Retrieve electrical rule check (ERC) violations from your KiCad schematic, filtered by severity (error, warning, or all).
Instructions
Get filtered ERC violations from schematic.
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": "get_erc_violations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schematic_path | Yes | Path to .kicad_sch file | |
| severity | No | Filter by severity ('error', 'warning', '') for all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |