Reimport Apple Health Export from Watch Folder
apple_health_reimportRe-scan the configured watch folder for a newer Apple Health export, promote it as active, and clear caches so summaries reflect new data; use check_only to inspect without promoting.
Instructions
Re-scan the configured watch folder (APPLE_HEALTH_WATCH_PATH or setup --watch-path <dir>) for a newer Apple Health export. If a newer export.xml/export.zip/apple_health_export directory is found, it is promoted to the active export, the in-memory snapshot cache and incremental cache are cleared, and subsequent summaries reflect the new data. With check_only=true, only report what would happen without promoting. This is the cross-platform recurring-refresh path — the native HealthKit bridge needs macOS and is separate. Requires explicit user intent when promoting a new export (force or non-check_only); check_only is read-only inspection.
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": "apple_health_reimport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | When true, re-promote the newest export in the folder even if it already matches the active export (forces a cache refresh). | |
| check_only | No | When true, report the watch-folder status without promoting a new export. | |
| response_format | No | markdown |