Skip to content
Docs menu

Back to all methods

setActivityType

write

Changes an activity's type. Resolves to `null` on success.

setActivityType(activityId, typeId, typeKey, parentTypeId)
ParameterTypeOptionalDescription
activityIdnumber | stringnoNumeric id
typeIdnumberno
typeKeystringno
parentTypeIdnumberno

In Claude this is the set_activity_type tool.

Guide: activities