Validate GTIN/EAN/UPC
validate_gtinValidate GTIN-8/12/13/14 (EAN/UPC barcode) check digit.
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": {
"code": "<code>"
},
"name": "validate_gtin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The barcode digits. e.g. 4006381333931 |