compare_periods
Mean nightly metrics for period A and B with absolute and relative delta (B − A). include_disturbances=true adds the nightly disturbance_trend metrics (pulse, flow limitation, breathing stability, flow shape NED/Glasgow, RERA…
Instructions
Mean nightly metrics for period A and B with absolute and relative delta (B − A).
include_disturbances=true adds the nightly disturbance_trend metrics (pulse, flow
limitation, breathing stability, flow shape NED/Glasgow, RERA candidates), e.g. to compare
nights before and after a pressure change; slower (about 1-3 s per night).
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": {
"a_from": "<a_from>",
"a_to": "<a_to>",
"b_from": "<b_from>",
"b_to": "<b_to>"
},
"name": "compare_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a_to | Yes | ||
| b_to | Yes | ||
| a_from | Yes | ||
| b_from | Yes | ||
| device_id | No | ||
| include_disturbances | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||