Batch Add And Connect
batch_add_and_connectAdd multiple components and wire their nets in one call, with optional global labels for cross-sheet connections.
Instructions
Place multiple components AND wire their nets in a single call — the fewest-round-trip way to build a subcircuit. Each component is like batch_add_components plus an optional 'nets' map {pin: netName}. Components are placed first, then nets are connected via batch_connect. labelType selects 'label' (sheet-local, default) or 'global_label' (cross-sheet by name) for all the nets wired in this call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin_x | No | ||
| origin_y | No | ||
| labelType | No | Label kind used to wire the nets: 'label' = sheet-local (default); 'global_label' = cross-sheet by name | label |
| components | Yes | Components to place and connect | |
| schematicPath | Yes | Path to the .kicad_sch file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |