feat: add get_schematic_view tool for rasterized schematic images

Exports schematic to SVG via kicad-cli, then converts to PNG using
cairosvg (same approach as get_board_2d_view). Falls back gracefully
to SVG if cairosvg is not installed. Supports configurable output
size and format (png/svg).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Eugene Mikhantyev
2026-03-12 23:57:39 +00:00
parent b2a547e624
commit 72e5320044
3 changed files with 128 additions and 0 deletions

View File

@@ -103,6 +103,7 @@ export const toolCategories: ToolCategory[] = [
"list_schematic_labels",
"generate_netlist",
"sync_schematic_to_board",
"get_schematic_view",
"export_schematic_svg",
"export_schematic_pdf"
]