get_sales_report
Retrieve paid sales for a date range and group results by day, hour, weekday, or channel to spot trends and compare periods.
Instructions
Paid sales for a date range, grouped by day, hour of day, weekday or channel.
Use it for trends and comparisons (e.g. this week vs last week = two calls).
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_sales_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | No | Local date, YYYY-MM-DD. Default: today. | |
| group_by | No | day | |
| date_from | No | Local date, YYYY-MM-DD. Default: today. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||