HealthSQL
v0.1.2Your whole Apple Health record as a local SQLite database.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
health_overview Apple Health: what is available
What the user's Apple Health database holds: when their iPhone last synced, each view with its columns and when to use it, example queries, and every metric with its unit and date range. Call this first, once.
health_query Apple Health: run SQL
Run one read-only SQLite query on the user's Apple Health database and get rows as JSON (at most 2000; aggregate or LIMIT). Start from the `daily` view (one row per day: steps, energy, resting heart rate, HRV, sleep, weight and more), `nights` for sleep, `workouts` for training. health_overview lists every view and column.
| Parameter | Type | Description |
|---|---|---|
sql * | string | One SQLite SELECT statement. |