Get Segment Streams
strava_get_segment_streamsGet bounded/downsampled GPS, distance and altitude data for a segment. Cache miss normally costs one API request; check strava_sync_status or strava://mirror/budget first.
Instructions
Get bounded/downsampled GPS, distance and altitude data for a segment. Cache miss normally costs one API request; check strava_sync_status or strava://mirror/budget first.
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": {
"segment_id": "<segment_id>",
"keys": "<keys>"
},
"name": "strava_get_segment_streams"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | Stream types: latlng, distance, altitude | |
| max_points | No | Maximum data points to return (10-2000, default 500). Streams are downsampled if larger. | |
| segment_id | Yes | The segment ID |