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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbols": "<symbols>"
},
"name": "batch_list_symbol_pins"
}
}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 |