Get scans by region
get_scans_by_regionUse this when the user wants scans per state or region within one country (country code required). Read-only.
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": {
"country": "<country>"
},
"name": "get_scans_by_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number. | |
| scope | No | account for everything, project for one project (needs idproject), qrcode for one code (needs idqrcode and its idproject). | account |
| region | No | Region filter. | |
| country | Yes | ISO 3166-1 alpha-2 country code (required). | |
| end_date | No | End of the period, YYYY-MM-DD. Leave empty for today. Always send it when the user names a period. | |
| idqrcode | No | QR code ID from `list_qrcodes`. Required when scope is qrcode. Never guess an ID. | |
| per_page | No | Items per page. | |
| idproject | No | Project ID from `list_projects`. Required when scope is project or qrcode. Never guess an ID. | |
| start_date | No | Start of the period, YYYY-MM-DD. Leave empty for the last 30 days. Always send it when the user names a period. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| buckets | No | ||
| per_page | No | ||
| last_page | No | ||
| current_page | No |