scan_add_item
Scan a barcode to add an item to your inventory. Automatically identifies product details, then lets you specify storage location, quantity, and expiry date.
Instructions
通过扫描条形码添加物品。系统会自动识别物品信息,用户只需补充存放位置等信息。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcode | Yes | 条形码(必填) | |
| quantity | No | 数量,默认为1 | |
| expiryDate | No | 过期日期,格式 YYYY-MM-DD | |
| locationId | No | 存放位置ID | |
| locationName | No | 存放位置名称,如"冰箱"、"柜子" |