get_days
Fetch daily health data for a date range, oldest first, optionally limited to groups such as sleep, heart, or rings to track trends over time in one call.
Instructions
The day files of a date range (at most 366 days), oldest first, optionally reduced to the groups you name, so you can follow sleep, resting heart rate or rings over time in one call.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "get_days"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Last day, `YYYY-MM-DD` (inclusive, at most 366 days after `from`). | |
| from | Yes | First day, `YYYY-MM-DD`. | |
| groups | No | Groups to keep, e.g. ["heart", "sleep"]. Default: every group a day has. |