list_nights
Retrieve one row per night of PAP therapy data—usage, AHI, events, leak/pressure p95 and oximetry flag—for a chosen date range and device; defaults to the last 14 days.
Instructions
One row per night (usage, AHI device+derived, events, leak/pressure p95, oximetry flag).
Default: the last 14 days of data. Dates: YYYY-MM-DD, last, yesterday.
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_nights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | No | ||
| date_from | No | ||
| device_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||