Correct a logged set
update_setFix a key metric of a single set, located by session + exercise + set_number.
Allowed patch keys: weight_kg, reps, rir, rpe, tempo, rest_sec, duration_sec, distance_m,
is_per_side, completed, notes, type. occurrence (1-based) picks which instance when the
exercise appears more than once in the session. Returns the updated set, or null if none.
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>",
"exercise_id": "<exercise_id>",
"set_number": "<set_number>",
"patch": "<patch>"
},
"name": "update_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | ||
| occurrence | No | ||
| session_id | Yes | ||
| set_number | Yes | ||
| exercise_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |