Get total scans
get_total_scansUse this when the user asks how many scans they got in total, for the account, one project or one QR code, with growth against the previous period. Default period: last 30 days. For a day-by-day breakdown use get_scans_by_date; for individual scans use get_qrcode_scans. For scope qrcode send both idproject and idqrcode. Read-only.
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": "get_total_scans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | account for everything, project for one project (needs idproject), qrcode for one code (needs idqrcode and its idproject). | account |
| 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. | |
| 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 |
|---|---|---|---|
| growth | No | ||
| total_scans | No |