strava_gear_usage
Calculate total distance, duration, and elevation per gear from Strava activities, using optional date range, gear, sport, and data source filters to support service interval tracking.
Instructions
Group activity mileage, hours, and elevation by gear id for service-interval audits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | Unix timestamp lower bound. Required so summaries do not accidentally fetch full history. | |
| before | No | Optional Unix timestamp upper bound. | |
| source | No | Activity source. Defaults to cache_then_api. | |
| gearIds | No | Optional Strava gear_id allowlist. | |
| maxPages | No | Maximum Strava activity-list pages to fetch. Defaults to 20. | |
| sportTypes | No | Optional Strava sport_type allowlist, such as Run, TrailRun, Ride, or MountainBikeRide. |