Check a barcode number
check_barcodeSay what a barcode number is without looking up the product: its type (UPC-A, UPC-E, EAN-13, EAN-8, GTIN-14, ISBN), whether the check digit is right and what it should be, the same number in every other form, where its prefix was issued, and whether it is an in-store or coupon number. Also reads GS1 Digital Link web addresses and GS1 element strings from 2D codes (batch, serial, expiry date). Free: uses no lookups and needs no key.
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": {
"barcode": "<barcode>"
},
"name": "check_barcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcode | Yes | The number or scanned text, for example 049000050103 or https://id.gs1.org/01/09506000134352. |