getCustomerAnalytics
Retrieve customer behavior analytics for a date range to evaluate new vs returning customers, average order value, lifetime value, churn, and retention.
Instructions
Get customer behavior 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": "getCustomerAnalytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | End date (YYYY-MM-DD) | |
| metrics | No | ||
| startDate | Yes | Start date (YYYY-MM-DD) |