createGear
write
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
createGear(gearType, brand, model, name, firstUseDate, usageType?, maxUsageDistanceKm?, maxUsageDurationMin?, notes?, activityTypeKeys?)| Parameter | Type | Optional | Description |
|---|---|---|---|
| gearType | string | no | |
| brand | string | no | |
| model | string | no | |
| name | string | no | |
| firstUseDate | string | no | Calendar date, YYYY-MM-DD (UTC) |
| usageType | "distance" | "NONE" | "DISTANCE" | "DURATION" | "DATE" | "none" | "duration" | "date" | yes | |
| maxUsageDistanceKm | number | yes | |
| maxUsageDurationMin | number | yes | |
| notes | string | yes | |
| activityTypeKeys | string[] | yes |
In Claude this is the create_gear tool.