search_distributors
Search enabled distributor APIs for orderable parts matching an MPN or base part, with lifecycle state, stock, prices, package and datasheet URL, to pick concrete BOM MPNs and confirm they can be ordered.
Instructions
The orderable parts at the enabled distributors, from their official APIs: lifecycle state, stock, prices, package and datasheet URL. A part that is obsolete or discontinued is marked NOT ORDERABLE. Use it to select the concrete MPN of the BOM, and to check that it can be ordered. Each result names its source (the terms of the distributors ask for it). The enabled distributors come from the project file or the global configuration (distributor_status). Each needs a personal API key: for a distributor with no key, the result has a note with the steps for the user. Give the note to the user. With no key at all, the result gives the search links of part_links.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mpn | Yes | The MPN: a concrete orderable MPN, or the start of the MPNs (a base part, for example MCP1827S). | |
| path | No | A folder of the user project (default: the working folder of the server). The project file datasheet-lens.toml is in it or in a parent folder. | |
| exact | No | True: only this MPN. False: each MPN that starts with it (the concrete MPNs of a base part, up to 50). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |