list_workouts
List workout sessions in a date range plus user-marked Rest Day, Sick Day, or Travel Day context. Day context is returned even when that date has no workout. Treat context labels as explanatory context, not workouts; Travel Day can coexist with training.
Use before get_workout to find a session ID, or to answer training-history questions. Each workout row includes ID, date, focus type, location, and session-level NSI with rating.
DATE RANGE: one call covers the requested span, internally reading bounded 90-day slices. Explicit ranges can be up to 3660 days. Do not make sequential list_workouts calls to cover one user-requested range.
ALL HISTORY: when the user asks for "all", "ever", or their full workout history, set all_history=true. The tool finds the earliest stored workout (respecting activity_type when supplied). If history exceeds 3660 days, it covers the most recent 3660 days and explicitly reports the older stored start date instead of throwing.
OUTPUT BOUND: at most 250 workout rows are emitted. When more match, the response reports how many were omitted (or an honest lower bound for an exercise filter), the earliest returned/scanned date, and tells you to narrow with activity_type, exercise_name, or dates.
FILTERS: activity_type matches the stored workout focus type case-insensitively. exercise_name keeps only sessions containing that exercise in workout sets. Use activity_type for imported modalities such as Stair Stepper; use exercise_name for strength-history questions. Both filters may be combined.
INFER: default start_date to 7 days ago, end_date to today. User-specified dates or years are authoritative. Widen freely for the period the user actually requested.
SAVED WORKOUTS: set saved_workouts=true to list the user's reusable Saved Workouts library instead of completed workout history. Saved workout IDs are separate from workout session IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | End of date range. Format: YYYY-MM-DD. Optional — defaults to today. | |
| start_date | No | Start of date range. Format: YYYY-MM-DD. Optional — defaults to 7 days ago. | |
| all_history | No | Set true for all stored workout history instead of the recent default. Finds the earliest stored workout automatically; activity_type narrows that earliest-date lookup when present. | |
| activity_type | No | Stored workout focus type to match case-insensitively, for example Stair Stepper. Defaults to no activity-type filter. | |
| exercise_name | No | Exercise name that must appear in the workout sets, matched case-insensitively. Defaults to no exercise filter. | |
| saved_workouts | No | When true, list reusable Saved Workouts instead of completed workout sessions. Defaults to false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Human-readable result text returned by the tool. |