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.
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 |