get_starred_segments
Retrieve your starred Strava segments to access favorite routes and performance benchmarks for training analysis.
Instructions
Get the authenticated athlete's starred segments
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:196-206 (handler)The implementation of the get_starred_segments tool, which uses the stravaFetch helper to retrieve the athlete's starred segments from the Strava API.
server.tool( "get_starred_segments", "Get the authenticated athlete's starred segments", {}, async () => { const segments = await stravaFetch("/segments/starred"); return { content: [{ type: "text", text: JSON.stringify(segments, null, 2) }], }; } );