List components
list_componentsList all component and footprint names from Altium .PcbLib or .SchLib files. Use pagination for large libraries, or include_metadata to get part counts, pin counts, and more.
Instructions
List all component/footprint names in an Altium library file (.PcbLib or .SchLib). Supports pagination with limit/offset for large libraries. Use include_metadata for additional details like part_count and pin_count.
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": {
"filepath": "<filepath>"
},
"name": "list_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of components to return, 1 or more (optional, default: all) | |
| offset | No | Number of components to skip, 0 or more (optional, default: 0) | |
| filepath | Yes | Path to the library file | |
| include_metadata | No | If true, return objects with metadata instead of just names: a footprint's description, one count per primitive kind and has_3d_model; a symbol's description, designator, part_count, pin_count and footprint_count. Default: false |