get_activity
Retrieve one Garmin Connect activity by ID with summary metrics, planned workout, laps, multisport legs, and minutes per heart-rate zone from its FIT file.
Instructions
One activity in detail: summary metrics, the planned workout it followed, and (from the FIT file) each leg of a multisport session, every lap, and minutes per HR zone.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes | Garmin activity ID from list_activities | |
| include_laps | No | Download and parse the FIT file for laps, legs and HR zones |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |