rr_list_top_sellers
Rank products by units sold over a lookback window to identify high-demand items and guide inventory and replenishment decisions.
Instructions
Get top-selling products ranked by units sold over the whole window, one row per product however many SKU labels its sales carry. total_skus is how many products have sales rows in the window (the name is historical); truncated_to_top_n is true when that is more than the page returned (this ranking has no next page).
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": "rr_list_top_sellers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Lookback days (default 30, max 90) | |
| limit | No | Number of results (default 20, max 100) | |
| months | No | Rank over this many calendar months instead of days (max 36), on net demand units, for a window longer than 90 days. | |
| store_id | No | Only sales from this store. |