sales_summary
Retrieve sales metrics: revenue, receipt count, average ticket, discounts, taxes, and tips for presets or a custom date range. Filter by store to analyze performance.
Instructions
Get a sales summary for a given period: total revenue, receipt count, average ticket, discounts, taxes, and tips. Use presets (today, yesterday, this_week, this_month) or explicit date range.
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": "sales_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date (ISO 8601) for explicit date range | |
| from | No | Start date (ISO 8601) for explicit date range | |
| period | No | Date preset for the summary period | |
| store_id | No | Filter by store UUID |