set_workout_set_weight
Updates the planned weight for a pending workout set and can apply the change to remaining sets of the same exercise.
Instructions
Change a pending set's planned weight, optionally including remaining sets of the same move.
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>",
"weight": "<weight>"
},
"name": "set_workout_set_weight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set_id | Yes | Stable session set ID from get_workout_session | |
| weight | Yes | Actual load in this set's recorded unit | |
| client_id | No | Stable caller-generated ID; reuse the same ID when retrying the same operation | |
| remaining | No | Also update remaining pending sets of this move | |
| 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 |