top_customers
Ranks the requested number of customers by net revenue after refunds within an optional date range, returning ID, name, state, order count, revenue, refunds, and first/last order times.
Instructions
The n customers with the highest net revenue (after refunds) in an optional date range.
n is 1-100. Returns customer id, name, state, order count, revenue, refunds, and first/last order time.
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": "top_customers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| end | No | ||
| start | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||