get_drc_violations
Retrieve DRC violations from a KiCad PCB file and optionally filter them by violation type to inspect board design rule issues.
Instructions
Give the DRC violations of a board, with a filter by type.
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": {
"pcb_path": "<pcb_path>"
},
"name": "get_drc_violations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pcb_path | Yes | The .kicad_pcb file. | |
| violation_type | No | Optional type of the violations, as the DRC report of KiCad gives it, for example "clearance". Empty: all violations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |