get-activity-laps
Retrieve detailed lap data from Strava activities for performance analysis. Access timestamps, speeds, distances, and metrics to track and compare athletic performance.
Instructions
Retrieves detailed lap data for a specific Strava activity.
Use Cases:
Get complete lap data including timestamps, speeds, and metrics
Access raw values for detailed analysis or visualization
Extract specific lap metrics for comparison or tracking
Parameters:
id (required): The unique identifier of the Strava activity.
Output Format: Returns both a human-readable summary and complete JSON data for each lap, including:
A text summary with formatted metrics
Raw lap data containing all fields from the Strava API:
Unique lap ID and indices
Timestamps (start_date, start_date_local)
Distance and timing metrics
Speed metrics (average and max)
Performance metrics (heart rate, cadence, power if available)
Elevation data
Resource state information
Activity and athlete references
Notes:
Requires activity:read scope for public/followers activities, activity:read_all for private activities
Returns complete data as received from Strava API without omissions
All numeric values are preserved in their original precision
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-laps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The identifier of the activity to fetch laps for. |