Change a session
update_sessionChange the plan for one session, including the day it is on: pass date to reschedule it ('move Sunday's run to Saturday'), time, title, type, duration_min, distance_m, elevation_m, notes or tags. Only the fields you send change. Recording a finished workout is log_session, not this. Where the user has Google Calendar connected, the event changes or moves there too. All dates are the user's local calendar dates (YYYY-MM-DD) in their own time zone. Requires signing in.
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_id": "<session_id>"
},
"name": "update_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | New local date, YYYY-MM-DD. This is how a session is rescheduled. | |
| tags | No | New tags; replaces the old ones, [] clears them. | |
| time | No | New start time HH:mm, or empty string to clear it. | |
| type | No | New session type. | |
| notes | No | New plan notes; replaces the old ones. | |
| title | No | New title. | |
| distance_m | No | New planned distance in metres. | |
| session_id | Yes | id of the training session, from get_calendar, get_training_log or add_sessions. | |
| elevation_m | No | New planned vertical gain in metres. | |
| duration_min | No | New planned duration in minutes. |