get_activities_by_date
Retrieve Garmin activities between two dates, optionally filtered by activity type. Handles pagination automatically to fetch all results.
Instructions
Every activity between two dates, optionally filtered by activity type. Pages through the results internally. Paginates internally: fetches fixed pages of 20, incrementing start by 20, until an empty page (normal end) or 2000 pages without one (throws GarminError).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"startdate": "<startdate>"
},
"name": "get_activities_by_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enddate | No | Calendar date, YYYY-MM-DD (UTC) | |
| sortorder | No | ||
| startdate | Yes | Calendar date, YYYY-MM-DD (UTC) | |
| activitytype | No |