list_footprints
Retrieve all PCB footprints with positions, rotations, layers, and pad counts. Optionally filter by layer to view components on a specific side.
Instructions
Lists all footprints (components) on the PCB board with their positions, rotation angles, layers, and pad counts. Positions are in millimeters relative to the board origin. Y increases toward the bottom of the board (KiCAD convention). Optionally filter by layer name to see only components on a specific side. Valid layer values: F.Cu, B.Cu, In1.Cu, In2.Cu, F.SilkS, B.SilkS, Edge.Cuts. Use the returned reference designators (like U1, R1, C1) in follow-up tool calls that require a component reference.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_footprints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter_layer | No | Canonical KiCAD layer name to filter footprints by. Common values: F.Cu (front copper), B.Cu (back copper), In1.Cu, In2.Cu (inner copper layers), F.SilkS, B.SilkS (silkscreen), Edge.Cuts (board outline). Omit to list footprints on all layers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |