build_gs1_digital_link
Use this tool to turn a GTIN/EAN (plus optional lot and serial number) into a conformant GS1 Digital Link URL, the QR payload required for Sunrise 2027 retail QR codes and EU Digital Product Passport data carriers. If the GTIN check digit is wrong it explains why and suggests the corrected number. Deterministic, no account needed.
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": {
"gtin": "<gtin>"
},
"name": "build_gs1_digital_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lot | No | Optional batch/lot (GS1 AI 10, ≤20 chars). | |
| base | No | Optional https resolver origin you control; default https://id.cycle-platform.com | |
| gtin | Yes | GTIN-8/12/13/14 or EAN. | |
| serial | No | Optional serial number (GS1 AI 21, ≤20 chars). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||