Sleep by night
get_sleepRetrieve nightly sleep details for a date range (default last 7 nights): duration, stages, bedtime/wake time, respiration, resting heart rate, score, naps, and HRV for sleep analysis.
Instructions
Get nightly sleep for a date range (max 31 nights, default last 7): duration, deep/light/REM/awake time and share, bedtime and wake time, respiration, resting heart rate, plus sleep score, sleep need, naps and overnight HRV when Garmin provides them. Each night is labelled with the date you woke up (the night of Jan 5→6 is 2025-01-06). Use for sleep questions; for a full weekly review start with weekly_checkin.
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 |
|---|---|---|---|
| end_date | No | Last day, YYYY-MM-DD (inclusive). Defaults to today. | |
| start_date | No | First day, YYYY-MM-DD (local calendar date, inclusive). |