list_activities
Retrieve Garmin Connect activities filtered by date range or activity type, including recent workouts. Use it to review runs, rides, swims, or your last recorded activity.
Instructions
List activities. Without dates: the most recent ones (use limit=1 for the last activity). With startDate/endDate and/or type: activities in that range, optionally filtered by type (e.g. running, cycling, swimming).
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": "list_activities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by activity type, e.g. 'running', 'cycling'. | |
| limit | No | Max activities (1-50). Default: 10. | |
| endDate | No | End date (YYYY-MM-DD). Default: today. | |
| startDate | No | Start date (YYYY-MM-DD). Default: ~4 weeks ago. |