update_workout_set
Correct the actual reps, weight, or effort for a logged set in an open workout session, using the current revision to prevent overwriting newer edits.
Instructions
Correct actual reps, weight or optional effort on a logged set in an open 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": {
"session_id": "<session_id>",
"expected_revision": "<expected_revision>",
"set_id": "<set_id>"
},
"name": "update_workout_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rir | No | Optional reps in reserve: 0, 1, or 2 meaning 2+ | |
| reps | No | Actual completed reps; never substitute a planned target | |
| set_id | Yes | Stable session set ID from get_workout_session | |
| weight | No | Actual load in this set's recorded unit | |
| client_id | No | Stable caller-generated ID; reuse the same ID when retrying the same operation | |
| session_id | Yes | User-owned resource ID returned by a read tool | |
| occurred_at | No | Optional original event time with UTC offset, for offline replay | |
| expected_revision | Yes | Current revision returned by the resource; prevents overwriting a newer edit | |
| heavier_next_time | No | User explicitly marked heavier next time |