get_top_items
Ranks menu items by quantity or revenue within a date range and returns the requested number, optionally filtered by category.
Instructions
Best-selling menu items in a date range, by quantity or revenue.
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_top_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | quantity | |
| limit | No | ||
| date_to | No | Local date, YYYY-MM-DD. Default: today. | |
| category | No | Exact category name. | |
| date_from | No | Local date, YYYY-MM-DD. Default: today. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |