Detailed health data
fetch_health_dataRequest or retrieve detailed Apple Health data for a date or workout. Supported scopes cover heart-rate series, sleep stages, workout details and workout routes. status=requested means the phone has not uploaded the data yet. Opening P.R.O. fulfils the request; a later call with the same arguments retrieves it, and P.R.O. then also sends the last 30 days (kept 7 days), so later dates in that range answer directly. Other detailed payloads expire after 48 hours.
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": {
"scope": "<scope>"
},
"name": "fetch_health_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Calendar date YYYY-MM-DD. Required for heart_rate_series and sleep_stages; for sleep it is the morning the user woke up. | |
| scope | Yes | What to fetch: heart_rate_series (intraday HR for one day), sleep_stages (awake/core/deep/rem for one night), workout_details (HR series and per-km splits of one workout), workout_route (GPS track of one workout). | |
| workout_id | No | Workout UUID as returned by get_workouts. Required for workout_details and workout_route. |