getProductAnalytics
Analyze product performance with metrics like total sales, units sold, conversion rate, and page views over a custom date range.
Instructions
Get product performance analytics
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": {
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "getProductAnalytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| startDate | Yes | Start date (YYYY-MM-DD) | |
| endDate | Yes | End date (YYYY-MM-DD) | |
| productIds | No | ||
| limit | No | ||
| sortBy | No | TOTAL_SALES |