health_get_hrv
Retrieve nightly heart rate variability (HRV) readings from a local cache or live API to track recovery and parasympathetic trends.
Instructions
Get nightly HRV (heart rate variability) data.
Returns data from the local cache by default. Use live=True to fetch from the API. Run health_sync first to populate the cache.
HRV data is sparse: only nights with on-wrist sleep tracking produce readings.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache.
Returns one entry per night with daily_rmssd and deep_rmssd (ms), entropy, non_rem_hr (non-REM heart rate, bpm) and data_source (the device and platform Google says recorded it). RMSSD = root mean square of successive RR interval differences. Higher values generally indicate better recovery and parasympathetic activity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |