getCustomerAnalytics
Analyze customer behavior over any date range. Get metrics like new vs. returning customers, churn rate, and average order value.
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 |
|---|---|---|---|
| startDate | Yes | Start date (YYYY-MM-DD) | |
| endDate | Yes | End date (YYYY-MM-DD) | |
| metrics | No |