lib_get_footprints
Enumerate every footprint in a PCB library and return each footprint's name and description, optionally targeting a specified .PcbLib path or the focused document.
Instructions
Enumerate every footprint in a PcbLib.
PcbLib counterpart to lib_get_components for SchLibs. Walks
the PCB library with IPCB_Library.LibraryIterator_Create
and returns one entry per footprint with its name and
description.
Args: library_path: Optional .PcbLib path to focus first. Defaults to the focused document.
Returns:
Dict with library_path, count and footprints
(a list of {name, description}).
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": "lib_get_footprints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| library_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||