get_trends
Compare the most recent period of a health metric against the prior same-length period to get change, percent change, and directional trend.
Instructions
Compare the most recent N-day window against the prior N days for a metric — returns change, percent change and direction (up/down/flat).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | Yes | ||
| window | No | days per window (default 7) |