Validate a barcode
validate_barcodeRead-onlyIdempotent
Checks a GTIN-8, UPC-A, UPC-E, EAN-13, GTIN-14 or ISBN barcode: its type, its check digit and whether it is valid.
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": "validate_barcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcode | Yes | The barcode digits (ISBN-10 may end with X). |