Google Health Physical-Time Rollup
google_health_rollupAggregate Google Health data for a specified data type over physical time intervals. Define a date range and interval to get summary metrics.
Instructions
Aggregate a data type over physical time intervals using Google Health rollUp.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_time | Yes | ISO 8601 date-time with timezone, e.g. 2026-05-01T00:00:00Z | |
| data_type | No | Google Health data type in kebab case. Supported slugs (call google_health_list_data_types for units and which verbs each supports): active-energy-burned, active-minutes, active-zone-minutes, activity-level, altitude, blood-glucose, body-fat, calories-in-heart-rate-zone, core-body-temperature, daily-heart-rate-variability, daily-heart-rate-zones, daily-oxygen-saturation, daily-respiratory-rate, daily-resting-heart-rate, daily-sleep-temperature-derivations, daily-vo2-max, distance, electrocardiogram, exercise, floors, food, food-measurement-unit, heart-rate, heart-rate-variability, height, hydration-log, irregular-rhythm-notification, nutrition-log, oxygen-saturation, respiratory-rate-sleep-summary, run-vo2-max, sedentary-period, sleep, steps, swim-lengths-data, time-in-heart-rate-zone, total-calories, vo2-max, weight. Other valid v4 kebab-case slugs are also accepted. | steps |
| page_size | No | ||
| page_token | No | ||
| start_time | Yes | ISO 8601 date-time with timezone, e.g. 2026-05-01T00:00:00Z | |
| window_size | No | Duration in protobuf seconds format, e.g. 3600s. | 3600s |
| privacy_mode | No | Optional per-call privacy override. Defaults to GOOGLE_HEALTH_PRIVACY_MODE or structured. raw returns upstream Google Health JSON. | |
| response_format | No | markdown | |
| data_source_family | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| endpoint | Yes | ||
| privacy_mode | Yes |