get_erc_violations
Retrieve electrical rule check (ERC) violations from a KiCad schematic and filter results by severity (error or warning) to identify and resolve design issues.
Instructions
Give the ERC violations of a schematic, with a filter by severity.
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 |
|---|---|---|---|
| severity | No | Optional severity: "error" or "warning". Empty: all violations. | |
| schematic_path | Yes | A .kicad_sch file of the project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |