Get a component
get_componentRetrieve a single component by exact name from an Altium .PcbLib or .SchLib file, returning its full footprint or symbol data without parsing the entire library.
Instructions
Get a single component by name from an Altium library. Returns the full component data (footprint or symbol) without needing to read and filter the entire library. Supports both .PcbLib (footprints) and .SchLib (symbols) files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Path to the Altium library file (.PcbLib or .SchLib) | |
| component_name | Yes | Exact name of the component to retrieve |