Edit workout session
update_workout_sessionChange a logged strength session: name, date, start/end time, calories, kcal_mode, session RPE, notes (replaces). The calorie estimate uses the session's start and end, so to correct calories after wrong times, fix started_at / ended_at rather than overriding calories. Set calories only when the user gives a number; null (or estimate_calories=true) goes back to the estimate. The result reports the session kcal, its source, what the watch recorded during it and the extra added to the day. For sets use update_workout_set / move_workout_sets / delete_workout_sets.
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": {
"session": "<session>"
},
"name": "update_workout_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rpe | No | ||
| date | No | Current date of the session when using a name (default today) | |
| name | No | ||
| notes | No | ||
| session | Yes | Session id (preferred) or name | |
| calories | No | Only a number the user gave; null = use the estimate | |
| ended_at | No | HH:MM local or ISO datetime | |
| new_date | No | Move the session to this date (YYYY-MM-DD); times move with it unless given | |
| kcal_mode | No | 'auto' (default): follow the user's gym calories setting. 'add': always add the session kcal minus what the watch (Garmin/COROS) recorded during it (e.g. the watch missed this workout). 'watch_only': keep only what the watch recorded, add no estimate. | |
| started_at | No | HH:MM local or ISO datetime | |
| estimate_calories | No | Drop the saved number and use the estimate (from the session times) |