Get activity laps
get_activity_lapsReturn laps and pace summaries for runs, rides, or pool swims to check whether pace held up across halves and compare lap splits.
Instructions
Return the laps of a run or ride, or the pace per 100 m or yd of a pool swim, with a summary: average pace or speed, first half against second half, and the fastest and slowest lap or 100.
Answers "did my pace hold up?". Strength sessions have sets, not laps: use get_activity_sets. Two Garmin requests.
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_laps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes | Garmin's activity id, from list_activities. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| laps | No | ||
| sport | No | ||
| summary | No | ||
| segments | No | Pool swims: pace per 100 of the pool's unit. | |
| pool_unit | No | "m" or "yd". | |
| activity_id | Yes | ||
| pool_length | No | In pool_unit. |