health.analyze_range
Analyze a date range of health data using daily snapshots. Get metric summaries, segment trends, notable days, and brief insights.
Instructions
Analyze a Health date range using exported daily snapshots only. Returns metric summaries, segment trends, notable days, and brief insights without reading raw samples.
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "health.analyze_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | Yes | Start date (YYYY-MM-DD). | |
| end_date | Yes | End date (YYYY-MM-DD), inclusive. | |
| metric_keys | No | Optional daily metric keys to analyze. Defaults to all known daily metrics with available data. | |
| segment_count | No | How many contiguous segments to split the requested range into for trend comparison. | |
| storage_backend | No | Storage backend to read from. | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||