set_gear_activity_defaults
Set or clear which Garmin Connect activity types default to a specific gear. Confirm before calling because this change is irreversible.
Instructions
Sets which activity types default to this gear. Uses the v2 full-record PUT Garmin's own web client uses (the older dedicated default-gear endpoint is dead). The working way to set gear defaults (the old dedicated default-gear endpoint is dead; there is no setGearDefault). Read-modify-writes the v2 record: GETs /gear-service/gear/v2/{uuid}, replaces associatedActivityTypes with [{activityTypeKey, defaultGear: true, preferredGear: false}] per key, PUTs the whole record back. Keys are lowercase ("running"), matching createGear, NOT setGearDefault's upper-cased form. [] clear… IRREVERSIBLE: confirm with the user before calling.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"gearUUID": "<gearUUID>",
"activityTypeKeys": "<activityTypeKeys>"
},
"name": "set_gear_activity_defaults"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gearUUID | Yes | ||
| activityTypeKeys | Yes |