Create Task
task_createManually create a time entry for past work, specifying project and start time, with optional end time and description, instead of using the timer.
Instructions
Use this when the user wants to manually create a time entry for past work, rather than using the timer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The project ID this task belongs to | |
| startDateTime | Yes | When the work started in ISO 8601 format (e.g., "2025-10-08T09:00:00Z") | |
| endDateTime | No | Optional end time in ISO 8601 format. If provided, creates a completed task. | |
| description | No | Optional description of what work was done | |
| billable | No | Whether this task should be billable to the client. Defaults to project setting. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the newly created task | |
| duration | No | Duration of the task in seconds (if endDateTime was provided) |