VO2 max, training effect & recovery
garmin_get_performance_metricsRead Garmin VO2 max, aerobic and anaerobic training effect, recovery time, and performance condition from .FIT files to track fitness trends and workout load.
Instructions
Garmin's own VO2 max, read the way Garmin Connect shows it, plus per-activity aerobic/anaerobic training effect, recovery time and performance condition. Decoded from the original .FIT files, since the Personal API has no VO2 max endpoint.
Returns the current VO2 max (whole number, as Garmin's apps round it, plus the precise value), every new VO2 max reading in the window (Garmin only updates it on qualifying runs and power-meter rides), and a row per activity.
Examples:
"what's my VO2 max?" / "how is my VO2 max trending?" -> last_n=20
"how hard was today's workout, how long to recover?" -> last_n=1 Each activity costs one file download, so keep last_n small unless a trend is asked for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last_n | No | How many recent activities to scan (all types) | |
| activity_id | No | One activity, from garmin_list_activities. Omit to scan recent activities | |
| activity_type | No | Only this Garmin type key, e.g. running, cycling | |
| response_format | No | 'markdown' for a readable summary, 'json' for every field | markdown |