list_sleep
Retrieve overnight sleep and daytime naps for a chosen date range, including duration, sleep scores, stages, and timezone-aware times; naps are listed separately and do not affect overnight totals.
Instructions
List primary overnight sleep and daytime naps within a date range. Overnight entries include duration, Wellness Project sleep score, the source's own sleep score when recorded, stages, and timezone-aware bedtime/wake times. Naps are listed separately with duration and start/end times; they never increase the overnight total or score.
Maximum range: 31 days per call. For longer periods, make multiple calls with sequential date ranges.
INFER — do not ask:
start_date: default to 14 days ago
end_date: default to today
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": "list_sleep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | End of date range. Format: YYYY-MM-DD. Default: today. | |
| start_date | No | Start of date range. Format: YYYY-MM-DD. Default: 14 days ago. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Human-readable result text returned by the tool. |