Search Components
search_componentsSearch and compare electronic components by part number, LCSC C number, or keyword across LCSC, JD, and HQCHIP, returning unified results with stock filters and tiered pricing.
Instructions
按型号/关键词搜索元器件,返回统一格式结果列表。
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": {
"keyword": "<keyword>"
},
"name": "search_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 每平台最多返回条数(1-50)。 | |
| keyword | Yes | 型号(如 STM32F103C8T6)、LCSC C 编号(如 C8734)或泛化描述(如 0603 10k)。 | |
| platform | No | lcsc(立创,数据最全)/ jd(京东)/ hqchip(华秋,人民币自营价)/ all(聚合三平台)。 | lcsc |
| in_stock_only | No | 仅保留有现货的结果。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||