get_activity
Retrieve a single Garmin Connect activity by ID and choose which data to include, such as summary, splits, weather, GPS/HR/power streams, heart-rate zones, or exercise sets.
Instructions
Data for a single activity by activityId. Pick via include: summary, splits, weather, details (GPS/HR/power streams), hr_zones, exercise_sets.
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": {
"activityId": "<activityId>"
},
"name": "get_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Which parts to return. Default: [summary]. | |
| activityId | Yes | The numeric activityId (from list_activities). |