add_barcode
Attach a GTIN/EAN barcode to a product. Scanning that code then identifies the product for stock actions, removing the need to type a name.
Instructions
Attach a GTIN/EAN barcode to a product.
Once attached, that code resolves to this product everywhere a tool takes a product argument, so a scanned package can be consumed or restocked without typing a name.
Args: product: Product name or description fragment. barcode: The full GTIN/EAN as printed under the bars.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcode | Yes | ||
| product | Yes |