feat: add run_erc tool for schematic electrical rules checking
This commit is contained in:
@@ -1513,6 +1513,21 @@ SCHEMATIC_TOOLS = [
|
||||
"required": ["schematicPath", "sourceRef", "targetRef"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "run_erc",
|
||||
"title": "Run Electrical Rules Check (ERC)",
|
||||
"description": "Runs the KiCAD Electrical Rules Check (ERC) on a schematic via kicad-cli and returns all violations with type, severity, and location. Use this to verify the schematic is electrically correct before generating a netlist or exporting.",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"schematicPath": {
|
||||
"type": "string",
|
||||
"description": "Path to the .kicad_sch schematic file"
|
||||
}
|
||||
},
|
||||
"required": ["schematicPath"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "generate_netlist",,
|
||||
"title": "Generate Netlist",
|
||||
|
||||
Reference in New Issue
Block a user