smartgym_get_workout_history
List past workouts newest first with duration, calories, heart rate, and pagination. Filter by 7/14/30 days, custom date range, or routine to review training history.
Instructions
List past workouts (newest first) with duration, calories and heart rate.
Defaults to the last 7 days (or 14/30 via `days`); explicit `date_from` / `date_to`
(inclusive, local time) override it. Optional `routine` filter (name or id).
Paginated: total, has_more, next_offset.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "smartgym_get_workout_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| limit | No | ||
| offset | No | ||
| date_to | No | ||
| routine | No | ||
| date_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| total | Yes | ||
| offset | Yes | ||
| has_more | Yes | ||
| sessions | Yes | ||
| next_offset | Yes |