get_top_sellers
Identify your best-selling products by quantity sold, with filtering by preset periods or custom date ranges to track sales trends.
Instructions
Get top-selling products ranked by quantity sold. Filterable by period or date range.
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_sellers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Comma-separated fields to return (default: title,product_id,quantity) | |
| period | No | Predefined period | |
| date_max | No | End date (YYYY-MM-DD) | |
| date_min | No | Start date (YYYY-MM-DD) |