find_events
Search treatment history by note text or event type to locate events like sensor changes, meals, or exercise within the past 30 days.
Instructions
Search treatment entries by text in notes or by event type. Use to answer: 'when did I last change my sensor?', 'show all coffee entries', 'find exercise logs this week'. Searches up to 30 days of history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | Hours to look back (default 168 = 7 days) | |
| query | No | Text to search in notes (case-insensitive) | |
| dateTo | No | End date (ISO 8601) | |
| dateFrom | No | Start date (ISO 8601) | |
| eventType | No | Filter by event type: 'Note', 'Meal Bolus', 'Site Change', 'Sensor Start', 'Exercise', etc. |