pcb_list_items
List one kind of item from an open KiCad PCB—footprints, pads, tracks, vias, zones, nets, or text—with millimetre/degree values, layer names, IDs, filters, and paging.
Instructions
List items of one kind from the board open in KiCad, in millimetres and degrees with KiCad layer names and item ids. Page with limit and offset on large boards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | No | Only items on this net name. | |
| ref | No | Only footprints or pads whose reference starts with this, e.g. R or U1. | |
| kind | Yes | ||
| layer | No | Only items on this layer, canonical name such as F.Cu or B.SilkS. | |
| limit | No | ||
| offset | No | ||
| board_path | No | Which open board, as a .kicad_pcb path. Omit to use the one board open in the PCB Editor. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| items | Yes | ||
| total | Yes | ||
| offset | Yes | ||
| returned | Yes | ||
| truncated | Yes | ||
| board_path | Yes |