get_activity_details
Fetch full details for a single Garmin Connect activity using its ID, including summary metrics and elapsed, timer, moving, and stopped time breakdowns.
Instructions
Get full detail for a single activity by its id.
activity_id is the numeric id string returned by list_recent_activities
or list_activities_by_date (the "id" field). Returns a JSON object
combining the activity summary (name, type, distance, duration, HR,
training effect) with a nested "details" object (measurement counts).
A "timing" object gives the explicit elapsed / timer / moving / stopped
breakdown so the caller never has to guess which duration is the
finish time. For a per-lap breakdown (interval or km splits), call
get_activity_laps. Bulky per-sample metric arrays and GPS polylines are
stripped to keep the response small — use Garmin Connect directly for
raw sample data.
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_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |