get_sleep
Retrieve Garmin sleep duration, stages, score components, and window times for an inclusive ISO date range up to 31 days to analyze sleep patterns and trends.
Instructions
Sleep duration/stages in seconds, reported score components and window times.
Inclusive ISO range <=31 days, end defaults to start. Garmin calendarDate is preserved; wake-date versus sleep-start-date association requires live verification.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start_date": "<start_date>"
},
"name": "get_sleep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ||
| start_date | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| records | Yes | ||
| end_date | No | ||
| timezone | Yes | ||
| warnings | No | ||
| pagination | No | ||
| start_date | No | ||
| retrieved_at | Yes | ||
| missing_dates | No | ||
| date_semantics | Yes |