analyze_barcode
Validate and analyze a single EAN-8, UPC-A, EAN-13, or GTIN-14 barcode. Checks the GTIN check digit, detects common missing check digits, preserves leading zeros, safely removes spaces and hyphens, and returns GTIN-14 normalization when possible. Price: $0.001 USDC per call.
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": "analyze_barcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcode | Yes | Barcode value to validate and analyze. |