Correct a set
edit_setUse this when the person corrects a set they already logged. Give its setId from get_today or get_session and only the values they change; null keeps the rest. Comes back with an Undo. Do not use to log a new set; use log_set.
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": {
"setId": "<setId>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "edit_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rir | No | Corrected reps in reserve, only when they say it; null keeps it. | |
| load | No | The corrected weight; null keeps it. | |
| reps | No | The corrected reps; null keeps them. | |
| setId | Yes | The set's id, from get_today or get_session. | |
| loadUnit | No | The new load's unit, as in log_set. Only with a new load. | |
| 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 |