get_sleep
Fetch sleep records for the last 1–30 days, including naps, with performance, duration, efficiency, and stage breakdowns to analyze sleep quality and habits.
Instructions
Returns sleep records (performance, duration, efficiency, time in each stage) for the last N days, including naps. Use it to analyze sleep quality and habits. sleep_performance_pct is 0-100% (actual sleep vs. sleep needed); efficiency is the share of time in bed spent asleep. Summary stats exclude naps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days back to fetch, from 1 to 30 (default 7). |