get_metric_aggregate
Retrieve aggregated metric data (count, sum, unique) for a specified metric within a date range and time interval.
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": {
"metric_id": "<metric_id>",
"measurement": "<measurement>",
"start_date": "<start_date>",
"end_date": "<end_date>",
"interval": "<interval>"
},
"name": "get_metric_aggregate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric_id | Yes | The ID of the metric | |
| measurement | Yes | Measurement type | |
| start_date | Yes | Start date in ISO format | |
| end_date | Yes | End date in ISO format | |
| interval | Yes | Time interval |