sales_summary
Calculate revenue, order count, item count, and average ticket for a date range, grouped by total, month, category, or state.
Instructions
Faturamento, nº de pedidos, itens e ticket médio num período (datas AAAA-MM-DD, inclusivas).
group_by: 'total', 'month' (por mês), 'category' (por categoria) ou 'state' (por UF).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "sales_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | ||
| group_by | No | total | |
| start_date | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||