get_top_items
Identify top-selling products by units sold in a given date range, defaulting to today. Use to analyze sales performance and optimize inventory.
Instructions
Return the best-selling items in a date window, ranked by units sold.
Defaults to today (UTC); 90-day chunked. Each line item counts as one unit. Requires ORDERS_R.
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 |
|---|---|---|---|
| top_n | No | ||
| date_to | No | ||
| date_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||