Merge two workouts
trainrec_merge_workoutsMakes two workouts of one session into one, given both ids and versions: keep keeps its id and name and takes the other's exercises and what either measured (calories, heart rate, route), and the other is removed. For the same session logged twice, or a watch's copy of one you logged. Same day only. The person can undo it in one step in the app. Use it instead of deleting one of the pair: a watch's heart rate is only on its copy.
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": {
"keep": "<keep>",
"keepVersion": "<keepVersion>",
"other": "<other>",
"otherVersion": "<otherVersion>"
},
"name": "trainrec_merge_workouts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep | Yes | ||
| other | Yes | ||
| keepVersion | Yes | ||
| otherVersion | Yes |