trend
Track one Garmin health metric over up to 366 days by day, week, or month, with the series, 30-day change, and up/down/flat direction; daily grouping adds a 7-day rolling average.
Instructions
I4. Trend of one metric over up to 366 days, by day, week or month: the series, change per 30 days and whether it is going up, down or flat. Daily grouping adds a 7-day rolling average. Results are informational, not medical advice. Fields Garmin did not record say 'not recorded'; never treat them as zero.
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": "trend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Last date, YYYY-MM-DD (inclusive); at most 366 days after start. | |
| start | Yes | First date, YYYY-MM-DD (inclusive). | |
| metric | Yes | The metric to follow. | |
| group_by | No | Group by day, week or month. | week |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||