get_sleep_sessions
Retrieve clustered sleep sessions from Apple Health for specific waking days, with start/end/day filters, to ensure sleep data matches the daily cache for consistent analysis.
Instructions
Clustered sleep sessions from health-sessions.json with {start, end, day} filters. Sessions are attributed to the WAKING day, matching the daily cache's sleep_analysis, so the two surfaces never disagree; a split night appears as multiple sessions with the same day, returned as-is. Timestamps carry the local UTC offset at the time of the sample.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | A single waking day, YYYY-MM-DD. | |
| end | No | Last waking day (inclusive), YYYY-MM-DD. | |
| start | No | First waking day (inclusive), YYYY-MM-DD. |