desk_get_report
Fetches one SautiDesk supervisor report by name (availability, calls, contacts, cost, day, forecast, hourly, league, missed, numbers, occupancy, owed, reasons, recorded, repeat, replies, scorecard, service, spend, staffing, tickets, transfers, webchat, csat (customer satisfaction), week, and the channel reports calls-summary, whatsapp, sms, email). The calls, missed and tickets reports also list their rows, 100 a page in data: pass next_cursor back as cursor (limit and cursor are ignored by the other reports). Needs the Supervisor licence and SautiDesk Pro.
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": {
"report": "<report>",
"purpose": "<purpose>"
},
"name": "desk_get_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | optional end date/time (YYYY-MM-DD or RFC3339) | |
| tz | No | optional IANA timezone, e.g. Africa/Nairobi | |
| from | No | optional start date/time (YYYY-MM-DD or RFC3339) | |
| limit | No | rows per page for the calls, missed and tickets reports (default and max 100) | |
| cursor | No | next_cursor from the previous page of the calls, missed or tickets report | |
| report | Yes | report name: availability, calls, contacts, cost, day, forecast, hourly, league, missed, numbers, occupancy, owed, reasons, recorded, repeat, replies, scorecard, service, spend, staffing, tickets, transfers, webchat, csat, week, calls-summary, whatsapp, sms or email | |
| channel | No | optional channel filter | |
| purpose | Yes | Required on tools that read data or reports; recommended on every tool. One sentence: what you are doing and why (for example "finding this caller's open ticket to answer them"). Building a report, dashboard, analytics or an export is a SautiDesk Pro feature done by the report tools, not by pulling records. | |
| agent_id | No | optional agent UUID filter (required for AgentScorecard) | |
| queue_id | No | optional queue UUID filter |