query_raw_logs
Run SQL queries to analyze sleep, activity, and heart rate data from the Wellness Planner health database for insights and reporting.
Instructions
Run a read-only SQL query against the health database.
Available tables:
sleep_logs (date, bedtime, wake_time, total_hours, deep_sleep_hours, rem_sleep_hours, awakenings)
activity_logs (date, steps, active_minutes, calories_burned, workouts)
heart_rate_logs (date, timestamp, bpm)
Args: query: A SELECT SQL query. Only read operations are allowed.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |