Start or finish a session
update_sessionUse this when the person starts, finishes or skips a session, or says how it felt. status IN_PROGRESS starts it, DONE finishes it and SKIPPED skips it; feeling is 1 to 5; notes and gym as they say. Null leaves a field as it is. Comes back with an Undo. Do not use to move a session to another day; use move_session.
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": {
"sessionId": "<sessionId>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "update_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gym | No | The gym they trained at, as they name it; null leaves it. | |
| notes | No | Their notes on the session; an empty string clears them, null leaves them. | |
| status | No | IN_PROGRESS starts it, DONE finishes it, SKIPPED skips it, PLANNED puts it back; null leaves it. | |
| feeling | No | How it felt, 1 to 5; an empty string clears it, null leaves it. | |
| sessionId | Yes | The session's id, from get_today or get_schedule. | |
| idempotencyKey | Yes | A new random id for this change (a UUID). Send the same one again only to retry this exact change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |