List activities
garmlink_activities_listThe user's Garmin activities, most recent first, with optional type/date filters. Each row carries the compact basics (id, type, name, start_time, duration_s, distance_m, calories, avg_hr) PLUS a brief of sport metrics (avg speed, max HR, elevation gain, SWOLF/strokes for swims, cadence for runs, power for rides) — enough to compare sessions without fetching details. The response's synced_at says how fresh the data is. Splits and HR zones are available from garmlink_activities_get, which takes several ids in one call.
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": "garmlink_activities_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO date/datetime upper bound on start_time (inclusive). A date-only bound covers the whole day. | |
| from | No | ISO date/datetime lower bound on start_time (inclusive). | |
| type | No | Activity type key, e.g. running, cycling, swimming, hiking, strength. Matches loosely, so "running" also returns trail and treadmill runs — and a walk named "Running errands". exact_type matches one type key strictly. | |
| limit | No | Max rows to return (<=200). | |
| offset | No | Pagination offset. | |
| exact_type | No | Exact activity type, matched strictly: "running" here excludes trail_running and treadmill_running, which have different paces, so it gives a like-for-like comparison baseline. |