update_activity
Update an existing Strava activity by providing the activity ID and only the fields you want to change, such as name, sport type, description, trainer, commute, or gear.
Instructions
Update an existing activity. Requires activity:write scope. Only provide the fields you want to change.
Args: activity_id: The Strava activity ID to update. name: New name for the activity. sport_type: New sport type (e.g. Run, Ride, Swim). description: New description. trainer: Set True/False for trainer flag. commute: Set True/False for commute flag. gear_id: ID of gear to associate (e.g. "b12345"). Use "none" to remove.
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": "update_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes | ||
| name | No | ||
| sport_type | No | ||
| description | No | ||
| trainer | No | ||
| commute | No | ||
| gear_id | No |