run_erc
Run an Electrical Rules Check on the open schematic to detect design violations; dispatches to Altium or KiCad ERC and returns normalized violation counts and details.
Instructions
Run the schematic Electrical Rules Check (ERC) on the open design.
Dispatches to the active backend: Altium runs its native ERC; KiCad runs
kicad-cli sch erc on the schematic file on disk (save pending edits
first). 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_erc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backend | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||