listActivities
Retrieve and compare Garmin activity summaries by date, type, or name to find activity IDs and review training metrics such as distance, pace, heart rate, and training load.
Instructions
List the user's Garmin activities (most recent first) as a compact summary: id, name, type, local start time, distance (km), moving duration, average pace, average/max heart rate, cadence, ascent; when Garmin has them: elapsed time (if longer than moving time), race flag, Garmin training load, aerobic/anaerobic training effect and label, seconds in HR zones 1-5, calories, moderate/vigorous intensity minutes, body battery change, steps, swim SWOLF, pool length, lengths and strokes, power, mountain-bike grit and flow, a ride's km/h, ascent per hour and easy (zones 1-2) and hard (zones 4-5) share of the zone time, running form (stride, ground contact, vertical oscillation and ratio), grade-adjusted pace, best efforts (1k, mile, 5k, 10k, half, marathon) and run/walk segments. Dates are yyyy-MM-dd. Set raw=true for Garmin's full JSON. limit is at most 200; names filters the last 200 activities of the date window. Use it to find activity ids and to compare many activities. For the laps, sets or plan of one activity, give its id to getActivityLaps, getActivitySets or getActivityWorkouts.
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": "listActivities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Return Garmin's raw JSON instead of the summary | |
| limit | No | Max number of activities, default 20 | |
| names | No | Activity names (optional): keep only the activities whose name contains one of them, ignoring case | |
| endDate | No | End date yyyy-MM-dd (optional) | |
| startDate | No | Start date yyyy-MM-dd (optional) | |
| activityType | No | Activity type key (optional): a parent type such as running or cycling, or a subtype such as trail_running |