get_order_leaders
Find the top customer by highest spend or by most non-cancelled orders. Supports optional date range for spend-based ranking.
Instructions
Find a customer with highest spend or most non-cancelled orders. mode=highest_spend accepts optional YYYY-MM-DD from/to; mode=most_orders accepts no dates.
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": "get_order_leaders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||