Check a BOM
check_bomMatch every BOM line to an orderable part, price the whole build for N boards (price breaks and MOQ applied), and flag problems: out of stock, not enough stock, uncertain matches, MPN vs distributor number conflicts, no footprint, JLCPCB extended-part fees (with assembly=true). Suggests alternatives for problem lines and similar parts for unmatched ones. A 'Pack size' column (or a pack named by the distributor) orders whole packs. Shows the shipments per distributor with estimated shipping. Becomes the project's current BOM (without project_id: the project you just created, else a new one). Returns a quote_id for place_order and the dashboard_url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Project name. Used when no project_id is given: a new project is created with this name. | |
| boards | No | How many boards to build. | |
| reason | No | One line on why, shown to the user in the project's activity log. | |
| bom_csv | Yes | The BOM as CSV/TSV text (KiCad, Altium, EasyEDA/JLCPCB or a spreadsheet export). Needs a header row; columns like Designator, Quantity, MPN, Manufacturer, Value, Footprint, LCSC, Digikey, Mouser are recognised. A Digikey/Mouser number pins that exact listing. | |
| assembly | No | True when JLCPCB assembles the boards: its extended-part fees count and no-fee alternatives are suggested. Default: parts only. | |
| project_id | No | project_id from create_project. Links this call to the project and its dashboard. | |
| same_package | No | Suggest only alternatives in the same package (pin-to-pin, no PCB change). False also allows other sizes. | |
| minimize_shipments | No | Move lines to fewer distributors when the shipping saved is more than the price difference. False = cheapest source per line. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||