get_activity_power_zones
Retrieve the time spent in each power zone for a cycling or running-power activity. Use the Garmin activity ID to analyze performance distribution and guide training intensity.
Instructions
Time spent in each power zone for a cycling or running-power activity.
Args: activity_id: Garmin activity ID.
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_power_zones"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Compacted Garmin payload; null if unavailable. | |
| note | No | Explains missing data or truncation. | |
| params | No | Parameters used. | |
| source | Yes | Garmin Connect API method the data came from. |