Busy times
get_busy_timesWhen the café is busiest, default over the last 30 days: orders by hour of the day, the busiest half hour, and orders and sales by weekday. Useful for rotas and opening hours.
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_busy_times"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day, YYYY-MM-DD, included. Overrides period. | |
| cafe | No | Which café, by name or slug. Only needed when the person has more than one (see list_my_cafes). | |
| from | No | First day, YYYY-MM-DD. Overrides period. | |
| branch | No | One branch (location) by name or id. Leave out for the whole business. | |
| period | No | A named period on the café's clock. Weeks start Monday. |