feat: add sync_schematic_to_board + fix refill_zones subprocess isolation

This commit is contained in:
Tom
2026-03-06 20:05:30 +01:00
parent e74653d59d
commit ec39905702
3 changed files with 190 additions and 14 deletions

View File

@@ -1575,6 +1575,24 @@ SCHEMATIC_TOOLS = [
"required": ["schematicPath"]
}
},
{
"name": "sync_schematic_to_board",
"title": "Sync Schematic to PCB (F8)",
"description": "Reads net connections from the schematic and assigns them to matching component pads in the PCB board file. Equivalent to KiCAD Pcbnew F8 'Update PCB from Schematic'. Must be called after placing components and before routing traces, so that pad-to-net assignments are correct.",
"inputSchema": {
"type": "object",
"properties": {
"schematicPath": {
"type": "string",
"description": "Path to .kicad_sch file. If omitted, auto-detected from current board path."
},
"boardPath": {
"type": "string",
"description": "Path to .kicad_pcb file. If omitted, uses currently loaded board."
}
}
}
},
{
"name": "generate_netlist",
"title": "Generate Netlist",