run_drc
Run a design rules check on a KiCad PCB file to identify electrical and manufacturing violations, producing a structured report with actionable results.
Instructions
Run Design Rules Check (DRC) on a PCB.
Returns structured report with violations.
Args:
pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.
output_dir: Directory for report file (default: same as PCB).
Optional; omit to use the configured default.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run_drc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pcb_path | No | ||
| output_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| source | Yes | ||
| violations | Yes | ||
| kicad_version | Yes | ||
| violation_count | Yes | ||
| unconnected_count | Yes | ||
| unconnected_items | Yes |