get_sleep
Retrieve a compact JSON sleep summary for the night ending on a specified date, including sleep stages, scores, average HR/SpO2/respiration/stress, overnight HRV, and resting heart rate.
Instructions
Get sleep summary for the night ending on the given date.
date must be "YYYY-MM-DD" (the calendar date the sleep session ends on).
Returns a JSON object with the daily sleep summary (dailySleepDTO: sleep
stages in seconds, sleep scores, average HR/SpO2/respiration/stress) plus
overnight HRV and resting HR. Per-minute sleep-stage and movement arrays
are stripped to keep the response small.
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": {
"date": "<date>"
},
"name": "get_sleep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |