create_gear
Creates a new gear item in Garmin Connect, defining brand, model, first use date, and usage limits. Converts max distance and duration to meters and seconds.
Instructions
POSTs /gear-service/gear/v2; defaults usageType="DISTANCE", notes=""; firstUseDate routed through formatDate; gearType/usageType upper-cased via validateSportKey; converts maxUsageDistanceKm -> maxUsageDistanceMeters (round(km*1000), floor 1) and maxUsageDurationMin -> maxUsageDurationSeconds (round(min*60), floor 1), the opposite direction from addWeighIn's "send raw" rule; returns the response unchecked
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| brand | Yes | ||
| model | Yes | ||
| notes | No | ||
| gearType | Yes | ||
| usageType | No | ||
| firstUseDate | Yes | Calendar date, YYYY-MM-DD (UTC) | |
| activityTypeKeys | No | ||
| maxUsageDistanceKm | No | ||
| maxUsageDurationMin | No |