Get Activity Details
get_activity_detailsSummarize one authenticated user activity window with matching workouts, complete active-energy totals, heart-rate stats, and optional heart-rate zone sample counts. When available, workoutSummary also reports estimated time in zones, covered versus missing sensor time, longest continuous Zone 5 effort and a compact zone timeline. Time percentages are separate from the original sample percentages.
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_activity_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | ||
| startDate | Yes | ||
| maxHeartRate | No | Optional maximum heart rate in bpm. When provided, the tool reports percent-of-max heart-rate zone sample counts for the activity window. | |
| includeSamples | No |