update_workout
Modify an existing workout's details—such as duration, calories, distance, heart rate, or timestamps—by specifying its workout ID.
Instructions
Update a workout
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": {
"workout_id": "<workout_id>"
},
"name": "update_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ended_at | No | ||
| started_at | No | ||
| workout_id | Yes | ID of the workout to update | |
| workout_type | No | ||
| calories_burned | No | ||
| distance_meters | No | ||
| duration_minutes | No | ||
| average_heart_rate | No |