Read workouts
list_workoutsRead the person's workouts, newest first, with every exercise and set. Filter by day, by fromDay and toDay (inclusive local dates), by state to see plans or workouts done, and by exercise to follow one lift over time. Weights are kilograms: convert to the person's units from get_targets when talking. In a set, planned is what was aimed for and the figures beside it what was done; a plan's sets hold only planned. A warmup set counts for nothing, and a drop set belongs to the set before it. Only workouts in a result exist; never claim others do. A week with no workouts may be a week not logged, so ask before calling it a week off, and call progress out rather than a drop. To follow how one lift is moving, read get_exercise_progress rather than working it out from these.
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": "list_workouts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | Only workouts on this local date, in each one's own timezone | |
| limit | No | The most workouts to return | |
| state | No | Only plans or only workouts done; leave out for both | |
| toDay | No | Only workouts on or before this local date | |
| offset | No | Skip this many results. Pass the nextOffset of the previous page to read on; a null nextOffset means there are no more. | |
| fromDay | No | Only workouts on or after this local date | |
| exercise | No | Only workouts holding this exercise id, to follow its progress |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workouts | Yes | ||
| nextOffset | Yes |