Skip to content

create_activity

Create a new activity (project) in EARLY.

Summary

The create_activity tool allows you to create new activities (projects) to track time against.

Parameters

Parameter Type Required Description
name string Required Name of the new activity/project.
description string Optional Description of the activity.
color string Optional Color code for the activity (e.g., hex code).
clientId string Optional Client ID to associate with the activity.
billable boolean Optional Whether the activity is billable by default.

Behavior

  1. Validation: Checks if name is provided.
  2. API Call: Sends a POST request to create the activity.
  3. Response: Returns the created activity details.

Examples

Create Activity

Create Activity
{
  "name": "New Project",
  "description": "A brand new project",
  "billable": true
}

Response:

✅ Activity created successfully!

Name: New Project
ID: act_987654
Description: A brand new project