Report as data
stats_reportRetrieves a single Booksy report as JSON exactly as shown in the panel, with pagination for long reports and file export for complete reports.
Instructions
One report as JSON, as the panel shows it. Long reports are paged: use page, or report_export for the whole report as a file.
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_key": "<report_key>",
"date_from": "<date_from>",
"date_till": "<date_till>"
},
"name": "stats_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page of the report | |
| fresh | No | Skip the local cache | |
| filters | No | Extra report filters from stats_report_metadata, such as staffer_id | |
| date_from | Yes | First day of the period (YYYY-MM-DD) | |
| date_till | Yes | Last day of the period (YYYY-MM-DD) | |
| time_span | No | Period type | month |
| report_key | Yes | Report key from stats_report_catalog |