top_products
Rank products within a date range by revenue or quantity to identify sales leaders and compare performance.
Instructions
Produtos mais vendidos num período (datas AAAA-MM-DD), por faturamento ou quantidade.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "top_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | revenue | |
| limit | No | ||
| end_date | Yes | ||
| start_date | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||