Customer segments
customer_segmentsGroups customers into VIP (top 10% by spend), repeat, one-time, new (first order in the last 30 days) and lapsed (no order for 90+ days). Names are shortened and emails are never shown. Pass segment to list who is in one group.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "customer_segments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| store | No | Store address or id. Leave empty if you have only one store. | |
| segment | No | ||
| lookback_days | No |