get_activity_streams
Retrieve second-by-second telemetry data from a Strava activity, including heart rate, speed, power, cadence, altitude, GPS coordinates, temperature, and grade.
Instructions
Get time-series stream data for an activity. Returns arrays of second-by-second data for heart rate, speed, power, cadence, altitude, GPS coordinates, temperature, and grade.
Args: activity_id: The Strava activity ID. keys: Comma-separated stream types. Available: time, distance, latlng, altitude, velocity_smooth, heartrate, cadence, watts, temp, moving, grade_smooth. Defaults to 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": {
"activity_id": "<activity_id>"
},
"name": "get_activity_streams"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes | ||
| keys | No | time,distance,latlng,altitude,velocity_smooth,heartrate,cadence,watts,temp,moving,grade_smooth |