get_drc_violations
Retrieve DRC violations from a KiCad PCB file, with optional filtering by violation type such as clearance or spacing.
Instructions
Get filtered DRC violations from PCB.
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": "get_drc_violations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pcb_path | Yes | Path to .kicad_pcb file | |
| violation_type | No | Filter by type (e.g., 'clearance', 'spacing', '') for all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |