detect_anomalies
Flag abnormal health readings in sleep, HRV, heart rate, and activity using statistical methods to identify stress spikes or poor sleep nights.
Instructions
Detect unusual readings in your health data over a time period. Uses statistical methods (IQR and Z-score) to flag outliers in sleep, HRV, heart rate, and activity. Useful for identifying nights with unusually poor sleep, stress spikes, or other anomalies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days to analyze (default: 30) | |
| metrics | No | Which metrics to check for anomalies (default: all) |