Compare Parts
compare_partsCompare 2-5 electronic part numbers side by side to see specs, pricing, stock, lifecycle, and datasheet status, helping validate component choices in one call.
Instructions
Costs 2¢ per call. Compares 2-5 parts you already know side by side in one call (find candidates with search_parts or find_alternative first). Returns each part's details (per-provider specs, price breaks and links, the cached datasheet summary), a comparison table of parameters × parts built from each part's own provider data, and per-part flags: lifecycle (obsolete, NRND, last-time-buy), stock, datasheet_status, and resolved_as when a lookup landed on a different MPN. compact=true returns only the flags and the table, a much shorter answer; add include_summaries=true for the summaries. Never starts extraction: prefetch_datasheets first if you need summaries. If any input is not a real part number, the whole call is rejected with a 'rejected' map; a valid MPN no provider knows still gets a column, with an error. Example: compare_parts(['TPS54302', 'LM2596', 'MP2359']) datasheet_status: 'ready' → read it; 'extracting' / 'queued' / 'pending' / 'resolving' → poll check_extraction_status; 'not_extracted' → prefetch_datasheets; 'no_source' / 'unsupported' → request_datasheet_upload. Full list in the server instructions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | Return the shorter answer: per-part flags and the comparison table, without per-provider detail or summaries. Default false: the full answer. | |
| part_numbers | Yes | 2-5 parts. Specific manufacturer part number (MPN) or LCSC number (e.g. 'TPS54302DDCR', 'C2837938'). Not a value ('100nF'), description or reference designator ('R1'). | |
| include_summaries | No | With compact=true, also return each part's cached datasheet summary (about 2-4k characters each). The full answer always has them. |