Design-rule check
run_drcKiCad's DRC on the board as it is now, with schematic parity when the project has its schematic: error and warning counts by type, shorts, unconnected items, parity items, and the first violations with their items and positions (types filters, max_violations caps; default 40). Also mount_fit: parts reaching through the board (mid-mount jacks, USB-C) checked against their cutouts from their 3D models, with any body area over board material or within the fab's 0.2 mm milling tolerance of the cut.
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": {
"design_id": "<design_id>"
},
"name": "run_drc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | No | ||
| wait_s | No | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. | |
| design_id | Yes | The design id returned by import_kicad_project or list_designs. | |
| max_violations | No |