get_product_sales
Retrieve aggregated sales for a specific product: total purchases, first and last sale dates, breakdowns by country, platform, and trigger, plus revenue when available.
Instructions
Get aggregated sales for a single product derived from purchase history: purchase count, first/last sale, and breakdowns by country, platform, and trigger. Includes revenue if the history records carry a price.
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": {
"product": "<product>"
},
"name": "get_product_sales"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many recent purchases to scan when aggregating this product. | |
| product | Yes | Exact product name (see list_products). |