run_drc
Checks the open PCB for geometric design-rule violations using the active Altium or KiCad backend and returns violation counts plus a normalized list.
Instructions
Run geometric design-rule check (DRC) on the open board.
Dispatches to the active backend: Altium runs its native DRC; KiCad
runs kicad-cli pcb drc (KiCad's own CLI) on the board file on disk,
so save pending edits first for current results. Returns violation
counts and a normalized list. backend targets one tool in "both"
mode.
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 |
|---|---|---|---|
| backend | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||