get_recent_metrics
Read recent health and Fitbit metrics over a default 7-day range, with each metric isolated so unsupported data types do not fail the full response.
Instructions
Read recent Fitbit metrics with a safe default 7-day range. Each metric is isolated so unsupported or unavailable types do not fail the whole response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of recent days | |
| source | No | Source filter: FITBIT, HEALTH_KIT, or all | all |
| timezone | No | IANA timezone used to determine the civil date range | UTC |
| data_types | No | Metric types; defaults to the core health snapshot set | |
| deduplicate | No | Remove exact duplicates and resolve same-time cross-source conflicts using source_priority | |
| aggregate_daily | No | Use daily rollups where supported | |
| source_priority | No | Priority used when sources conflict |