get_timeseries
Retrieve granular wearable time-series samples for a user within a time range to analyze metrics like weight, SpO2, glucose, HRV, or finer-grained data than daily summaries.
Instructions
Get granular time-series samples for a user within a time range.
Time-series data is the raw/downsampled sample stream underlying the higher-level summaries (activity, sleep, workouts). Use this tool when the user asks about a metric that does NOT have a dedicated summary tool (e.g. weight, SpO2, blood glucose, respiratory rate, HRV), or when they need finer-grained data than daily averages.
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": {
"user_id": "<user_id>",
"start_time": "<start_time>",
"end_time": "<end_time>",
"types": "<types>"
},
"name": "get_timeseries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | Yes | List of SeriesType codes to include. Common values: - "heart_rate", "resting_heart_rate", "walking_heart_rate" - "heart_rate_variability_sdnn", "heart_rate_variability_rmssd" - "oxygen_saturation", "respiratory_rate" - "blood_glucose", "blood_pressure_systolic", "blood_pressure_diastolic" - "weight", "body_fat_percentage", "body_mass_index" - "steps", "active_energy", "basal_energy", "distance" | |
| user_id | Yes | UUID of the user. Use get_users to discover available users. | |
| end_time | Yes | End of the window in ISO-8601 format. Example: "2026-04-05T23:59:59Z" | |
| resolution | No | One of "raw", "1min", "5min", "15min", "1hour", "1day", "1week", "1month". Default "raw" returns every sample as stored; minute and hour resolutions downsample server-side; "1day", "1week" and "1month" return one value per local day, week or month, the provider's own day value where it sent one, with all statistics under "stats". Prefer "1min" or coarser for multi-day windows, and "1day" or coarser for weeks and months, to keep response size bounded. Day values exist ONLY at "1day" and coarser: resting heart rate, nightly HRV, SpO2, respiratory rate, VO2 max, skin temperature, and a provider's daily steps or energy. At "raw" or minute resolutions these types come back empty for most wearables, so ask for "1day" when the question is "what was X on/over these days". | raw |
| start_time | Yes | Start of the window in ISO-8601 format. Example: "2026-04-05T00:00:00Z" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||