Skip to content
Docs menu

Back to all methods

setGearActivityDefaults

destructive

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. `[]` clears all defaults. Concurrent callers can clobber each other

setGearActivityDefaults(gearUUID, activityTypeKeys)
ParameterTypeOptionalDescription
gearUUIDstringno
activityTypeKeysstring[]no

In Claude this is the set_gear_activity_defaults tool.

Guide: gear