Get Parts (BOM, Daily Snapshot)
jlc_get_partsFetch up to 50 JLCPCB parts at once by LCSC code or MPN from a daily catalog snapshot for BOM refreshes and batch part checks.
Instructions
Up to 50 JLCPCB parts in one call, by LCSC code or MPN, from the daily catalog snapshot (stock
= 10), database only: for BOM refreshes and checking many parts at once. For one part's live stock, prices or datasheet, use jlc_get_part(live=true). Reply: data_as_of, prices_as_of, price_tiers_as_of, counts (found, gone, not_found, error), hint when any part is gone or not found, and results in input order, each with input. An LCSC code's row has jlc_get_part's fields (prices: quantity tiers), or not_found; an MPN's row is like jlc_get_part(mpn=...): mpn, total, up to 10 results, exact, ambiguous, match info, gone_matches, or not_found with other_manufacturers. Gone parts (left the snapshot): stock null, gone, gone_since, last_stock. MPNs never match by full text: search values with jlc_search. An unusable input has error. Each part may add lifecycle, as in jlc_get_part.
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": {
"parts": "<parts>"
},
"name": "jlc_get_parts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parts | Yes | Up to 50, each an LCSC code ("C7950"), an MPN ("LM358P") or {"mpn", "manufacturer"} (the maker narrows the matches; "lcsc" also works, and wins over mpn; {"mpn": "C1815"} for a part number shaped like a code). A list or a JSON array string; never comma-split. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||