Get Eight Sleep Sleep Trends
eight_sleep_get_trendsRetrieve nightly sleep sessions and scores for a specified date range to analyze sleep trends and patterns.
Instructions
Return nightly sleep sessions and scores for a date range.
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": {
"from_date": "<from_date>",
"to_date": "<to_date>"
},
"name": "eight_sleep_get_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_date | Yes | End date in YYYY-MM-DD. | |
| user_id | No | ||
| timezone | No | UTC | |
| from_date | Yes | Start date in YYYY-MM-DD. | |
| privacy_mode | No | Optional per-call payload privacy override. Defaults to EIGHT_SLEEP_PRIVACY_MODE or structured. | |
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| endpoint | Yes | ||
| privacy_mode | Yes |