get-fitness-stats
Retrieve aggregated fitness stats for selected activity types over a date range. Filter by daily, weekly, or monthly periods and metrics such as duration, distance, or calories.
Instructions
Get aggregated fitness stats by activity type over a date range
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": {
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "get-fitness-stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| startDate | Yes | Start date YYYY-MM-DD | |
| endDate | Yes | End date YYYY-MM-DD | |
| aggregation | No | Aggregation period: daily, weekly, monthly | daily |
| metric | No | Metric: duration, distance, calories | duration |