Get scans by date
get_scans_by_dateUse this when the user wants scans per day for the account, a project or a code, for example for a chart. 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_scans_by_date"
}
}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 |
| 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 |