create_time_entry
Log work hours to a project by specifying date, project, task, and either total hours or start and end times.
Instructions
Create a new time entry. Requires project_id, task_id, and spent_date. Must provide either hours OR both started_time and ended_time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The project ID to log time against | |
| task_id | Yes | The task ID to log time against | |
| spent_date | Yes | The date the time was spent (YYYY-MM-DD) | |
| started_time | No | Start time in HH:MM format (24-hour) | |
| ended_time | No | End time in HH:MM format (24-hour) | |
| hours | No | Decimal hours (e.g., 0.5 = 30min, 1.25 = 1h15m) | |
| notes | No | Notes for the time entry | |
| external_reference | No |