Kicad Drc
kicad_drcValidate PCB designs by running KiCad Design Rules Checker on .kicad_pcb files, returning a report and optionally checking schematic parity.
Instructions
Run KiCad Design Rules Checker on a .kicad_pcb file. Returns the report. schematic_parity additionally checks the board against the sibling .kicad_sch (footprint <-> symbol agreement).
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": "<pcb>"
},
"name": "kicad_drc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pcb | Yes | ||
| outdir | No | ||
| schematic_parity | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |