Data availability and sync evidence
data_statusInspect before health reviews or investigating missing data. Returns the last received upload batch, collection date ranges/counts and per-metric coverage. Not a sync command. history_import is the iPhone's own report of its history import (complete, still arriving, or unknown for older app builds); while it is still arriving, collections.*.first_date and history_import.workout_details.reached_date say how far back it has reached, since it imports newest first; when next_step is present, relay its message to the user; last_night says whether last night's sleep is stored, may still be on its way, or did not come in an upload made after the user's usual wake time, and its message is what to say instead of 'no record'; never_received names sleep or heart data that has never arrived at all, and its message is what to tell the user; HealthKit read permissions are unknown. An upload can be empty or re-send old records; old dates alone do not prove stalled sync. No account identifiers returned.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "data_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| setup | Yes | ||
| metrics | Yes | ||
| refresh | No | ||
| next_step | Yes | ||
| last_night | Yes | ||
| collections | Yes | ||
| last_ingest | Yes | ||
| limitations | Yes | ||
| history_import | Yes | ||
| never_received | Yes | ||
| healthkit_read_permissions | Yes |