add_time_entry
Create a completed time entry with start and end times for a specific user in Clockify. Log work hours with optional project and task details for accurate time tracking.
Instructions
Add a time entry for a specific user. Creates a completed time entry with start and end times.
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": {
"user_name": "<user_name>",
"description": "<description>",
"start_time": "<start_time>",
"end_time": "<end_time>"
},
"name": "add_time_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_name | Yes | Name of the user to add time for | |
| description | Yes | Description of the work performed | |
| start_time | Yes | Start time in ISO format (e.g., 2024-01-29T09:00:00) | |
| end_time | Yes | End time in ISO format (e.g., 2024-01-29T17:00:00) | |
| project_name | No | Optional: project name to associate with the entry | |
| task_name | No | Optional: task name within the project (requires project_name) | |
| billable | No | Whether the time is billable (default: true) | |
| workspace_id | No | Workspace ID (optional, uses default workspace if not provided) |