get_activity_details
Retrieve an activity's GPS track and per-point route data—latitude, longitude, altitude, time, distance, and speed—for mapping, course analysis, or locating climbs and intervals.
Instructions
Get the GPS track and per-point route data for an activity.
Returns the recorded GPS polyline (latitude, longitude, altitude, time, distance, speed per point) plus the track's bounding box and start/end coordinates. Garmin downsamples the track server-side to at most max_points points, evenly spread over the activity, so the route shape survives at any size.
Use get_activity for the summary metrics and get_activity_fit_data for full per-second sensor series; this tool is for the route itself (mapping, course analysis, where a climb or interval happened).
Indoor activities carry no GPS track; the response then says so and still lists which per-point metric keys Garmin recorded.
Args: activity_id: ID of the activity to retrieve the track for max_points: Maximum number of track points to return (default 500). Raise it (e.g. 4000) for a finer trace on long routes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_points | No | ||
| activity_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |