get_activities_by_date
Retrieve Garmin activities within a date range, optionally filtered by activity type like running or cycling.
Instructions
Activities between two dates, optionally filtered by type (running, cycling, swimming, ...).
Args: start_date: YYYY-MM-DD. Defaults to 30 days ago. end_date: YYYY-MM-DD. Defaults to today. activity_type: Garmin type key such as running, cycling, walking, strength_training.
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": "get_activities_by_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ||
| start_date | No | ||
| activity_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Compacted Garmin payload; null if unavailable. | |
| note | No | Explains missing data or truncation. | |
| params | No | Parameters used. | |
| source | Yes | Garmin Connect API method the data came from. |