EAN-13 check
ean13_checkValidate an EAN-13 barcode by its mod-10 checksum (odd positions x1, even positions x3).
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": {
"code": "5901234123457"
},
"name": "ean13_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | 13-digit EAN-13 barcode; spaces/dashes allowed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | ||
| scope | No | ||
| valid | Yes | ||
| reason | Yes | ||
| country | No | ||
| normalized | No |