get_trends
Retrieve time-series trends for any health metric, showing deltas and direction across daily, weekly, or monthly buckets.
Instructions
Generic trend tool — time series with deltas/direction for any metric.
Args:
domain: e.g. "sleep", "cardio", "nutrition".
metric: metric name within that domain (e.g. "hrv", "sleep_score").
granularity: bucket size for the returned series.
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": {
"client_id": "<client_id>",
"domain": "<domain>",
"metric": "<metric>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| metric | Yes | ||
| end_date | Yes | ||
| client_id | Yes | ||
| start_date | Yes | ||
| granularity | No | day |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||