put_star_segment
Star or unstar a specific segment for the authenticated athlete using its ID. Requires profile:write scope to modify Strava data.
Instructions
Star Segment
Endpoint: PUT /segments/{id}/starred
Description: Stars/Unstars the given segment for the authenticated athlete. Requires profile:write scope.
This operation modifies Strava data. Scopes: required: profile:write.
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>",
"starred": "<starred>"
},
"name": "put_star_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The identifier of the segment to star. | |
| starred | Yes | If true, star the segment; if false, unstar the segment. |