get_trends
Aggregate daily Garmin fitness metrics into day, week, or month buckets over a date range to track trends in sleep, heart rate, steps, stress, body battery, training load, VO2 max, or HRV.
Instructions
Aggregate a daily metric into day/week/month buckets.
`metric` is one of:
resting_hr, steps, stress_avg, body_battery_high, body_battery_low,
sleep_score, sleep_hours, training_load, vo2max, hrv
Sums are used for steps and training_load; everything else is averaged.
`bucket` is "day", "week", or "month" (default "week").
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"metric": "<metric>",
"start": "<start>",
"end": "<end>"
},
"name": "get_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| start | Yes | ||
| bucket | No | week | |
| metric | Yes |