get_workout_history
Fetch workout history across a date range, defaulting to recent weeks. Get flat summaries for scanning sessions, or include set-level data for detailed review.
Instructions
Get workout history for a date range.
Dates must be YYYY-MM-DD. If omitted, defaults to the last weeks_back weeks.
Fetches one day at a time to guarantee the full day's data is returned.
By default (include_sets=False) each item is projected to a flat summary: id, workout_id, program_id, date, workout_title, feed_item_id, saved_workout_id, completed, workout_rating, rpe, notes. Use this for scanning history and finding sessions — it's intentionally small.
Set include_sets=True only when you need set-level exercise data AND you are querying a narrow range (1-3 days). For full set data on a single known session, prefer get_workout_details(program_workout_id, program_id) instead.
Set cache_bust=True to force a fresh API fetch for every day in the range, ignoring and overwriting any cached data regardless of TTL.
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": "get_workout_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ||
| cache_bust | No | ||
| start_date | No | ||
| weeks_back | No | ||
| include_sets | No |