Search components
search_componentsSearch Altium component libraries using regex or glob patterns to find matching component names and their source library paths across .PcbLib and .SchLib files.
Instructions
Search for components across multiple Altium libraries using regex or glob patterns. Returns matching component names with their source library paths. Supports both .PcbLib (footprints) and .SchLib (symbols) files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Search pattern to match component names | |
| filepaths | Yes | Array of library file paths to search (.PcbLib or .SchLib) | |
| pattern_type | No | Pattern type: 'glob' (wildcards like * and ?) or 'regex' (regular expressions). Default: 'glob' |