Get GS1 product scans
get_product_scansScan counts for one GS1 product, by country, device, link type and batch. went_nowhere counts scans that reached the product and found no destination, which means somebody pointed a phone at printed packaging and got nothing.
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": "get_product_scans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| gtin | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| gtin | Yes | ||
| total | Yes | ||
| by_batch | No | ||
| by_device | No | ||
| by_country | No | ||
| by_link_type | No | ||
| went_nowhere | Yes |