Get Fitness Stats
get_fitness_statsGet aggregated fitness metrics such as distance, duration, or elevation gain for a date range, optionally grouped by activity type.
Instructions
Get aggregated fitness statistics between two dates.
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 |
|---|---|---|---|
| metric | No | Metric to aggregate: distance, duration, elevationGain, movingDuration (default: distance) | |
| endDate | Yes | End date in YYYY-MM-DD format (required) | |
| startDate | Yes | Start date in YYYY-MM-DD format (required) | |
| groupByActivities | No | Group results by activity type (default: true) |