Batch List Symbol Pins
batch_list_symbol_pinsBatch-retrieve pin names, numbers, types, and coordinates for multiple symbols in one call to avoid repeated round-trips when placing subcircuits. Includes compact mode for standard passives.
Instructions
Return pin names, numbers, types, and symbol-local coordinates for multiple symbols in a single call. Use instead of calling list_symbol_pins repeatedly when placing a subcircuit — saves 5–10 round-trips. Each result includes pins (with x/y/angle in symbol-local coords, Y-up per KiCAD lib convention) and body_bbox (bounding box of pin envelope ±1.27mm, symbol-local coords). IMPORTANT: coordinates are symbol-local (Y-up, pre-rotation); after placement use get_schematic_pin_locations for post-rotation schematic coordinates. Set compact=true for simple 2-pin passives (Device:R/C/L) to get just pin_count, body_bbox, and is_symmetric.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | If true, omit per-pin detail for standard 2-pin symmetric passives. | |
| symbols | Yes | Array of symbols in 'Library:SymbolName' format (e.g., ['Device:R', 'Device:C']) | |
| schematicPath | No | Path to .kicad_sch — enables project-local sym-lib-table lookup |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |