Log a set
log_setUse this when the person tells you a set they did. Give the session and slot from get_today or get_session, and the load and reps they said. Never invent a number. loadUnit kg or lb as they said it (label for a machine's own numbers); rir only if they say it. setNumber null logs the next set. Comes back with an Undo. Do not use to correct a set already logged; use edit_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": {
"sessionId": "<sessionId>",
"slot": "<slot>",
"load": "<load>",
"reps": "<reps>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "log_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rir | No | Reps in reserve, only when they say it; null otherwise. | |
| load | Yes | The weight they lifted, in loadUnit. | |
| reps | Yes | The reps they did. | |
| slot | Yes | The exercise's slot in that session, from get_today or get_session. | |
| loadUnit | No | kg or lb as they said it, or label for a machine's own numbers. Null is kg, or the machine's numbers on a labelled machine. | |
| sessionId | Yes | The session's id, from get_today or get_schedule. | |
| setNumber | No | Which set, from 1. Null logs the next set not yet logged. | |
| 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 |