health_export_query
Run SQL-like queries on Apple Health CSV exports to filter, group, and analyze metrics like steps, heart rate, and sleep.
Instructions
Execute SQL-like queries on health data from Health Export CSV files
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "health_export_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | SQL-like query to execute on health data. Supports SELECT, WHERE, GROUP BY, ORDER BY, LIMIT clauses. | |
| format | No | Output format for the query results | json |