get_activities_by_date
Retrieve Garmin Connect activities between two dates, with optional activity type and sort order filters, to review workouts and training history.
Instructions
Return activities between two dates, optionally filtered by type. :param startdate: String in the format YYYY-MM-DD :param enddate: (Optional) String in the format YYYY-MM-DD :param activitytype: (Optional) Type of activity you are searching Possible values are [cycling, running, swimming, multi_sport, fitness_equipment, hiking, walking, other] :param sortorder: (Optional) sorting direction. By default, Garmin uses descending order by startLocal field. Use "asc" to get activities from oldest to newest. :return: list of JSON activities. (Garmin Connect, read-only. Dates are YYYY-MM-DD.)
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 | ||
| sortorder | No | ||
| startdate | Yes | ||
| activitytype | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |