Average Basket Analysis
ps_average_basket_analysisAnalyze average basket value overall and by month, carrier, and customer group; compare current vs previous periods to show basket trends.
Instructions
Analyse average basket value overall and by month, carrier, and customer group.
Also computes the trend (current period vs previous period) to show whether baskets are growing.
Args:
days: Lookback period in days (default: 90)
limit: Max orders to analyse (default: 2000)
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": "ps_average_basket_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Lookback period in days | |
| limit | No | Max orders to analyse |