Aggregates over fixed time windows
get_rollupAggregate health data into custom time windows, such as hourly steps or heart rate per 60 minutes, to analyze trends within a workout or day.
Instructions
Aggregated values over physical-time windows (e.g. heart rate per 60 minutes during a workout, steps per hour today). Use get_daily_rollup for per-day values.
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": {
"dataType": "<dataType>",
"startTime": "<startTime>",
"endTime": "<endTime>",
"windowMinutes": "<windowMinutes>"
},
"name": "get_rollup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endTime | Yes | RFC-3339 timestamp with offset (exclusive). | |
| dataType | Yes | ||
| startTime | Yes | RFC-3339 timestamp with offset, e.g. 2026-11-07T06:00:00+05:30. | |
| windowMinutes | Yes | Bucket size in minutes, e.g. 60 for hourly. |