get_sleep
Retrieve sleep score, need, stages, heart rate, stress, respiration, SpO2, and skin-temperature deviation for a date to review that night's sleep detail.
Instructions
Get sleep score/need, stages, HR/stress, respiration, SpO2, and skin-temperature deviation for a date.
Use for sleep detail; use get_recovery to combine sleep with HRV and readiness. Garmin files a night under the day you woke up, so the date 2026-10-10 is the night of 9-10 October.
sleep_start and sleep_end are ISO 8601 with an explicit UTC offset, e.g. 2026-10-09T23:18:16+02:00. The wall time is already local: never add the offset again.
Requires saved local Garmin authentication (garmin-owl-auth). Reads Garmin and may update the local cache; never changes your Garmin account. Garmin failures are not retried automatically.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_sleep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Calendar date in YYYY-MM-DD format, e.g. 2026-10-09; any past date Garmin still stores. Omit or pass null for today in the server's local timezone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| sleep_end | No | Sleep end: ISO 8601 with an explicit UTC offset, e.g. 2026-10-09T23:18:16+02:00. The wall time is already local; never add the offset again. The offset is the one Garmin recorded for the device at that moment, or this computer's time zone when Garmin gives only UTC. | |
| awake_count | No | ||
| nap_seconds | No | ||
| sleep_score | No | ||
| sleep_start | No | Sleep start: ISO 8601 with an explicit UTC offset, e.g. 2026-10-09T23:18:16+02:00. The wall time is already local; never add the offset again. The offset is the one Garmin recorded for the device at that moment, or this computer's time zone when Garmin gives only UTC. | |
| availability | No | ||
| awake_seconds | No | ||
| average_hr_bpm | No | ||
| average_stress | No | Garmin's average stress during sleep, to one decimal. A different metric from the whole-day average_stress of get_stress and get_daily_summary. | |
| rem_sleep_seconds | No | ||
| deep_sleep_seconds | No | ||
| lowest_respiration | No | ||
| sleep_need_minutes | No | ||
| average_respiration | No | ||
| body_battery_change | No | ||
| highest_respiration | No | ||
| light_sleep_seconds | No | ||
| lowest_spo2_percent | No | ||
| sleep_need_feedback | No | ||
| total_sleep_seconds | No | ||
| average_spo2_percent | No | ||
| sleep_score_feedback | No | ||
| restless_moments_count | No | ||
| skin_temperature_basis | No | ||
| sleep_alignment_status | No | ||
| sleep_need_baseline_minutes | No | ||
| skin_temperature_deviation_c | No | ||
| skin_temperature_calibration_days | No |