run_drc
Run KiCad DRC on a board to check design rules with project severities, and verify schematic-to-board parity when a matching schematic sits beside the board file.
Instructions
Run the DRC of kicad-cli on a board.
The tool uses the severities of the project. When the schematic of the board name is next to the board, the DRC also checks the parity of the schematic and the board.
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": "run_drc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pcb_path | Yes | The .kicad_pcb file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |