sales_metrics
Retrieve aggregated sales metrics for a specified period, grouped by date, product, payment, or other dimensions. Use to analyze revenue and quantity trends.
Instructions
Metricas agregadas de ventas por periodo y agrupaciones.
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_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| fields | No | ||
| ranges | No | ||
| date_to | No | ||
| dry_run | No | ||
| sort_by | No | quantity | |
| group_by | No | ||
| timezone | No | America/Bogota | |
| date_from | No | YYYY-MM-DD | |
| compare_to | No |