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¶
- Validation: Checks if
nameis provided. - API Call: Sends a POST request to create the activity.
- Response: Returns the created activity details.
Examples¶
Create Activity¶
Response: