get_segment
Retrieve detailed Strava segment data—distance, grades, elevation, climb category, location, effort counts, and the connected athlete's PR—to analyze or compare a specific segment.
Instructions
Detail for one segment: distance, average and max grade, elevation, climb category, location, effort and athlete counts, and the connected athlete's PR (athlete_segment_stats).
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>"
},
"name": "get_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||