compare_periods
Compare health metrics across two time periods, like this week vs last week, and view side-by-side results with percentage changes.
Instructions
Compare health metrics between two time periods. Great for answering questions like 'How did I sleep this week vs last week?' or 'Was my HRV better last month?'. Returns side-by-side comparison with percentage changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period1_start | Yes | Start date of first period (YYYY-MM-DD) | |
| period1_end | Yes | End date of first period (YYYY-MM-DD) | |
| period2_start | Yes | Start date of second period (YYYY-MM-DD) | |
| period2_end | Yes | End date of second period (YYYY-MM-DD) | |
| metrics | No | Which metrics to compare (default: all available) |