health_export_metrics
Retrieve specific Apple Health metrics with optional date filtering and aggregation to analyze your health data.
Instructions
Get specific metric data with optional filtering and aggregation
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": {
"metric_name": "<metric_name>"
},
"name": "health_export_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | End date for the data (YYYY-MM-DD format) | |
| start_date | No | Start date for the data (YYYY-MM-DD format) | |
| aggregation | No | Aggregation function to apply to the metric data | |
| metric_name | Yes | Name of the metric to retrieve |