plot_segment
Generate a PNG plot of a night segment with pressure, leak, minute ventilation, SpO2, and event bands to visually inspect a window identified by find_anomalies.
Instructions
PNG plot of a night segment (pressure, leak, minute ventilation, SpO2 by default) with
events as shaded bands. Use for a visual check of a window found by find_anomalies.
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>"
},
"name": "plot_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| date | Yes | ||
| start | Yes | ||
| channels | No | ||
| device_id | No |