get_order_trends
Analyze daily, weekly, monthly, or quarterly revenue and order-count trends, with optional period comparisons, to identify sales patterns and performance shifts.
Instructions
Get daily/weekly/monthly revenue and order count breakdown for trend analysis.
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_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Date range (default: last_30d) | |
| compare_to | No | Comparison period: previous_period, previous_year, none (default: none) | |
| granularity | No | Time granularity (default: daily) |