run_sql
Query local Samsung Health export tables with read-only DuckDB SQL to analyze daily activity, sleep timing, workouts, weight, and trends without altering raw data.
Instructions
Run a read-only DuckDB query. Main table: daily. Others: hourly_steps, exercise, sleep_sessions, weight, day_tz, day_home.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |