get_treatments
Retrieve treatment records including insulin boluses, carb entries, notes, and exercise logs to analyze insulin and carbohydrate history for diabetes management.
Instructions
Get treatment records: insulin boluses, carb entries, notes, exercise logs, temp basals, and more. Use to understand insulin and carb history for analysis.
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": "get_treatments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Max entries (default 50) | |
| hours | No | Hours to look back (default 24) | |
| dateTo | No | End date (ISO 8601) | |
| dateFrom | No | Start date (ISO 8601) | |
| eventType | No | Filter by event type: Meal Bolus, Correction Bolus, Carb Correction, Note, Exercise, etc. |