get_night
Fetch one night of Eight Sleep data as ready-made text, including sleep score, stages, HRV, heart and respiratory rates, and temperatures; add brief earlier-night summaries for a morning check-in.
Instructions
One night measured by the Eight Sleep mattress, as ready-made text: sleep fitness
score, time in bed and asleep, stages, HRV, heart rate and respiratory rate (each with
the user's average, 7-day average and score), bed/room temperature. target_date
(YYYY-MM-DD) is the day the user WOKE UP - 'last night' = today (default).
history_days (0-13) adds one short line per earlier night. Quote the numbers as they are.
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_night"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_date | No | ||
| history_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |