Merge workout sessions
merge_workout_sessionsCombine several sessions from the same gym visit into one (e.g. 'Chest day', 'Chest day incline', 'Chest day triceps' logged separately). Moves all sets into the target session in order, spans the time range of all of them, then deletes the emptied sessions. Give session ids (preferred) or names plus the date. Confirm with the user first.
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": {
"target": "<target>",
"sources": "<sources>"
},
"name": "merge_workout_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date of the visit (YYYY-MM-DD); needed when using names | |
| target | Yes | Session to keep (id or name) | |
| sources | Yes | Sessions to fold into the target (ids or names) | |
| rename_to | No | Optional new name for the merged session, e.g. 'Chest day' |