query_metric
Retrieve time-series data for any HealthKit metric, with raw samples for short windows and daily aggregates for longer periods.
Instructions
Time-series for any HealthKit metric type. metric_type: e.g. 'HKQuantityTypeIdentifierStepCount', 'HKQuantityTypeIdentifierHeartRate' Windows <= 30 days return raw samples; longer windows return daily aggregates (raw samples beyond 30 days are summarized and no longer stored individually).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric_type | Yes | ||
| days | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||