Skip to content

update_activity

Update an existing activity (project) in EARLY.

Summary

The update_activity tool allows you to modify an existing activity, such as changing its name, description, or status.

Parameters

Parameter Type Required Description
activityId string Required The ID of the activity to update.
name string Optional New name for the activity.
description string Optional New description for the activity.
color string Optional New color code.
isActive boolean Optional Set active/inactive status.
clientId string Optional New client ID.
billable boolean Optional New billable status.

Behavior

  1. Validation: Checks if activityId is provided and at least one field to update.
  2. API Call: Sends a PUT/PATCH request to update the activity.
  3. Response: Returns the updated activity details.

Examples

Rename Activity

Update Activity
{
  "activityId": "act_987654",
  "name": "Renamed Project"
}

Response:

✅ Activity updated successfully!

ID: act_987654
Name: Renamed Project
Updated fields: name