Etapa: change a session in the guide
etapa_update_sessionChanges one session of the rider's guide, as the app's session screen does: done (they rode it), not_done, skip (not doing it), unskip, move (to another day, or week), or change (its length, distance, effort or description). Use the session's id from etapa_get_guide. Only what the rider asked for.
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>",
"action": "<action>"
},
"name": "etapa_update_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | For `move`: the day, as a name (Thursday) or 0 (Monday) to 6 (Sunday) | |
| week | No | For `move`: the week, if not its own | |
| title | No | For `change`: its new name | |
| action | Yes | What to do with it (see the description) | |
| effort | No | For `change`: how hard it is | |
| sessionId | Yes | The session's id, from `etapa_get_guide` | |
| distanceKm | No | For `change`: its new distance in km | |
| description | No | For `change`: what the session is, in plain words | |
| durationMins | No | For `change`: its new length in minutes |