Scans per guard
patroltech_scans_count_by_patrollerUse when you want how many scans each guard made over a period. Returns how many scans each guard made in the period (default: the last 7 days; dates are calendar days in the time zone of the account) and how many of them were valid, suspicious, invalid (rejected) and pendingReview, ordered by total (position), including guards without scans. Valid and suspicious are independent: a scan can be both. Scans older than the data retention period come without their guard and are counted together under "(sin vigilante)". With truncated: true only the most recent scans were counted: the counts are partial. Activity counts, not an assessment of the people. Do not use when round totals are enough.
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": "patroltech_scans_count_by_patroller"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date of the range (inclusive), YYYY-MM-DD. | |
| from | No | Start date of the range, YYYY-MM-DD (never words like "yesterday"). | |
| period | No | Relative period. Use it when the user says "today", "yesterday", "last week", "last month" or similar. Omit it (and from/to) for the last 7 days. | |
| organization | No | Omit unless the account has more than one organization; then the exact name (or id) as listed by patroltech_account_get_context. |