Apple Health Export Freshness
apple_health_export_freshnessCheck whether the local Apple Health export is fresh before relying on daily summaries or wellness context. Returns last-write time, days since export, stale flag, and a recommendation.
Instructions
Check how recently the local Apple Health export file/directory was written. Returns mtime, days_since_export, an is_stale flag, and a recommendation. Considered stale if the export is older than 30 days, or older than 7 days with no recent records (the inventory's latest-record date is also older than 7 days). Use before relying on apple_health_daily_summary or apple_health_wellness_context to confirm the export is fresh.
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_export_freshness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | markdown |