get_activity_time_in_hr_zones
Calculates time in each heart rate zone and below zone 1 for a single Garmin activity, excluding paused time, with seconds, percentages, BPM ranges, and watch totals for comparison.
Instructions
Time in heart rate zones for one activity, computed from the recorded heart rate: seconds and percent below zone 1 and in zones 1-5, with each zone's bpm range. Paused time is excluded. Also returns the watch's own time-in-zone totals for comparison.
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": {
"activity_id": "<activity_id>"
},
"name": "get_activity_time_in_hr_zones"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zones | No | 'current': the user's heart rate zones in Garmin Connect now. 'recorded': the zones the watch used during the activity. | current |
| activity_id | Yes | Activity ID from search_activities (a positive integer). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||