Skip to content

archive_activity

Archive or delete an activity.

Summary

The archive_activity tool allows you to archive or delete an activity. Note that this action might be irreversible depending on the API implementation.

Parameters

Parameter Type Required Description
activityId string Required The ID of the activity to archive/delete.

Behavior

  1. Validation: Checks if activityId is provided.
  2. API Call: Sends a DELETE request to archive/delete the activity.
  3. Response: Confirms success.

Examples

Archive Activity

Archive Activity
{
  "activityId": "act_987654"
}

Response:

✅ Activity archived/deleted successfully (ID: act_987654)