Gtin Check Digit
gtin_check_digitCompute the mod-10 check digit for GTIN/EAN/UPC data digits (all digits EXCEPT the check digit). Use to generate or repair a barcode.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"data": "400638133393"
},
"name": "gtin_check_digit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The data digits without the check digit, e.g. "400638133393". |