szlcsc_parse_barcode
Parse barcode text from LCSC packaging bags to extract part number (PC), MPN, and quantity, with optional lookup of component details.
Instructions
解析立创包装袋常见二维码文本(pc=C编号、pm=MPN、qty=数量);lookup=true 时顺便查询器件详情。
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": {
"raw": "<raw>"
},
"name": "szlcsc_parse_barcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | Yes | ||
| lookup | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |