get_laps_by_activity_id
Fetch lap splits for a given Strava activity ID, returning detailed timing, distance, and speed data for performance review.
Instructions
List Activity Laps
Endpoint: GET /activities/{id}/laps
Description: Returns the laps of an activity identified by an identifier. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.
Read-only operation. Scopes: one of: activity:read, activity:read_all.
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_laps_by_activity_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The identifier of the activity. |