Search activities
garmin_search_activitiesSearch and filter recorded Garmin activities by date, type, name, metrics, or location to find runs, rides, swims, and dives; retrieve activity IDs for detailed splits and stats.
Instructions
Recorded activities (runs, rides, swims, strength, dives, ...), newest first, with name, type, start time, distance, duration, pace/speed, HR, power, cadence, calories, elevation, and training effect. Pass an activityId to garmin_get_activity for splits and full detail.
All filters are optional and combine: start, end: YYYY-MM-DD inclusive, by the activity's local start date. Omit both to search all dates. With only end, the search covers the 7 days ending on it; with only start, it runs through today. search: text in the activity name or description. activity_type: parent type key, e.g. running, cycling, swimming, strength_training, hiking, walking. activity_subtype: a child key such as trail_running or indoor_cycling. excluded_activity_subtypes: child keys to leave out. event_type: race, training, recreation, fitness, specialEvent, or uncategorized. favorite: true for favorites only, false for non-favorites. exclude_children: hide individual legs of multisport activities. sort_by: a field such as distance, duration, or name (default: start time). sort_order: asc or desc (default desc). min_/max_distance (meters), min_/max_duration (timer seconds), min_/max_elapsed_duration (seconds including pauses), min_/max_elevation (gain, meters), min_avg_power (watts). north, south, east, west: a bounding box in decimal degrees around the start location; give all four or none. Dives: min_/max_max_depth (centimeters), deco_dive, min_/max_bottom_time (seconds). required_fields: activity fields that must be present, e.g. avgPower. limit, offset: page through results (each activity is about 3-4 KB).
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": "garmin_search_activities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| east | No | ||
| west | No | ||
| limit | No | ||
| north | No | ||
| south | No | ||
| start | No | ||
| offset | No | ||
| search | No | ||
| sort_by | No | ||
| favorite | No | ||
| deco_dive | No | ||
| event_type | No | ||
| sort_order | No | ||
| max_distance | No | ||
| max_duration | No | ||
| min_distance | No | ||
| min_duration | No | ||
| activity_type | No | ||
| max_elevation | No | ||
| max_max_depth | No | ||
| min_avg_power | No | ||
| min_elevation | No | ||
| min_max_depth | No | ||
| max_bottom_time | No | ||
| min_bottom_time | No | ||
| required_fields | No | ||
| activity_subtype | No | ||
| exclude_children | No | ||
| max_elapsed_duration | No | ||
| min_elapsed_duration | No | ||
| excluded_activity_subtypes | No |