Check Bom
check_bomBatch-checks multi-line BOMs across LCSC, JD, and HQCHIP, returning stock, quantity-based pricing, and shortages per part to identify supply gaps before ordering.
Instructions
BOM 批量核查:多行「料号 数量」,逐行返回各平台库存、按量单价与缺口。
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": {
"bom_lines": "<bom_lines>"
},
"name": "check_bom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | lcsc / jd / hqchip / all(聚合多平台时每行含各平台结果)。 | lcsc |
| bom_lines | Yes | 多行文本,每行 "MPN 数量"(数量可省略,默认 1);# 开头为注释。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| platform | Yes | ||
| total_lines | Yes | ||
| matched_lines | Yes |