Get one activity
get_activityRetrieve detailed Garmin activity data by ID, including splits, heart-rate and power zones, weather, strength sets, stream summaries, or power curves for training analysis.
Instructions
Details of one activity by id. detail="summary" (default) for the overview incl. description, RPE, feel, GAP, running dynamics (cadence, GCT, balance, VO, VR, stride), breathing rate, stamina, Training Effect label, run/walk/stand time, HR source (strap or watch) and workout_id (for get_workout); "splits" adds laps with the same dynamics, intensity (warmup, active, rest...) and, for a workout, the step as get_workout numbers it (wkt_step) and its compliance, plus typed splits (run, walk, stand, ClimbPro climbs) with totals per type; "hr_zones" adds time in HR zones; "power_zones" adds time in power zones (power meter); "weather" adds temperature, wind and conditions during the activity; "exercise_sets" adds strength sets (exercise, reps, weight, rest); "stream_summary" aggregates the stream per bucket (pace, GAP, HR, power, dynamics, breathing, Performance Condition, elevation, stamina; compares halves or kilometres without raw samples); "power_curve": best power for 1 s to 60 min (W, W/kg) from the FIT file, also running power; "full" adds all sections except power_curve plus the raw stream (HR, pace, power...), 50 KB per page (narrow it with metrics and downsample_s) - only when the user needs raw samples.
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": {
"id": "<id>"
},
"name": "get_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Activity id from get_activities | |
| bucket | No | For detail="stream_summary"; "climbs": each climb with grade, VAM, W/kg | km |
| cursor | No | For detail="full": next_cursor of the previous page (same metrics and downsample_s) | |
| detail | No | summary | |
| metrics | No | For detail="full": stream keys to keep, e.g. ["directHeartRate","directPower"] | |
| downsample_s | No | For detail="full": at most one sample per this many seconds |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes |