validate_gs1_identifier
Use this tool to verify a GTIN/EAN barcode number (check digit, GS1 mod-10) or a GS1 Digital Link URL (the QR standard behind Sunrise 2027 retail QR codes and DPP data carriers). Returns whether the identifier is valid, the normalised GTIN-14, and the exact error if not. Use it before printing labels or QR codes so they conform to GS1. Deterministic, no account needed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_gs1_identifier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gtin | No | GTIN/EAN-8/12/13/14 to validate. | |
| digital_link | No | GS1 Digital Link URL to validate (e.g. https://id.example.com/01/09506000134352/21/SER123). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||