undo_workout_set
Revert the last logged workout set during rest while preserving extra moves and sequence changes. Use it to correct accidental or incorrect set entries in an active session.
Instructions
Undo the last logged set during rest; preserve extra moves and sequence changes.
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>"
},
"name": "undo_workout_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |