get_signal
Retrieves and downsamples a PAP signal channel into min/mean/max buckets for time-range analysis, capped at 2,000 points; flow and pressure_hr are limited to 30-minute windows.
Instructions
A channel downsampled to at most max_points (hard cap 2000) buckets of min/mean/max.
flow and pressure_hr only for windows up to 30 min.
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>",
"start": "<start>",
"end": "<end>",
"channel": "<channel>"
},
"name": "get_signal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| date | Yes | ||
| start | Yes | ||
| channel | Yes | ||
| device_id | No | ||
| max_points | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||