Log a session as done
log_sessionMark one session done and record how it went: the minutes, distance and vertical gain actually covered, feeling 1 to 5 (1 terrible, 2 hard, 3 ok, 4 good, 5 great), rpe 1 to 10 (how hard it was), tags and a note in the user's own words. The note is where what they learned from the session goes; a lesson to look up again later can also be a diary note linked to the session (add_note with session_id). Fill in only what the user said. done: false un-completes it. 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": "log_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rpe | No | Rate of perceived exertion, a whole number 1 to 10: 1 very easy, 3 easy, 5 hard, 7 very hard, 10 all-out. | |
| done | No | Default true. False un-completes the session. | |
| tags | No | Tags for the session; replaces the old ones. | |
| notes | No | How it went, in the user's words. | |
| feeling | No | 1 terrible, 2 hard, 3 ok, 4 good, 5 great. | |
| session_id | Yes | id of the training session, from get_calendar, get_training_log or add_sessions. | |
| actual_distance_m | No | Distance actually covered, in metres. | |
| actual_elevation_m | No | Vertical gain actually climbed, in metres. | |
| actual_duration_min | No | Minutes it actually took. |