query_samples
Retrieve Apple HealthKit records by type and date range, with optional daily aggregation or raw output, to build reports and analyze health trends.
Instructions
读 HealthKit 样本。type 可写全名或简写(bodyMass/bodyFatPercentage/stepCount/heartRate…);agg=daily 按天聚合。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agg | No | ||
| end | No | 止(不含):YYYY-MM-DD(UTC 0 点)或带时区 ISO8601 | |
| type | Yes | ||
| limit | No | ||
| start | No | 起(含):YYYY-MM-DD(UTC 0 点)或带时区 ISO8601 |