Get activity laps
garmin_get_activity_lapsRetrieve per-lap splits, sessions, swim lengths, and FIT-recorded metrics for a Garmin activity to analyze intervals, pacing, and multisport legs.
Instructions
Get the laps (and sessions, swim lengths and Garmin's physiological metrics) of one activity, from its original FIT file.
Returns per lap: start offset, duration (elapsed and timer), distance, pace/speed, avg/max HR, avg/max/normalized power, cadence, ascent/descent, intensity (active/rest/warmup/cooldown) and lap trigger; for swims, stroke and lengths. Also: device, multisport sessions, and FIT-only metrics when the device recorded them (VO2max, recovery time, lactate threshold HR/power).
Use it for interval sessions, splits and pacing. Downloads the FIT file on first use (one request), then it's cached. For a multisport leg ID, returns only that leg's laps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lap_offset | No | Skip this many laps (for activities with very many laps) | |
| activity_id | Yes | Garmin activity ID from garmin_list_activities | |
| response_format | No | 'markdown' for readable text (default), 'json' for complete structured data | markdown |