create_time_entry
Record time entries to a project by entering hours or start and end times. Requires project, task, and date.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"task_id": "<task_id>",
"spent_date": "<spent_date>"
},
"name": "create_time_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | Decimal hours (e.g., 0.5 = 30min, 1.25 = 1h15m) | |
| notes | No | Notes for the time entry | |
| task_id | Yes | The task ID to log time against | |
| ended_time | No | End time in HH:MM format (24-hour) | |
| project_id | Yes | The project 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) | |
| external_reference | No |