Log a time entry
time_entries_createLog a completed time entry for the calling user (entries for other members are not supported). Needs start_time (epoch ms, within the window the server enforces) and duration_minutes (0-10080). billable defaults to true. A billable entry resolves the workspace's own rate (project, then member, then workspace default) when hourly_rate is omitted; a rate other than the resolved one needs the billable-rates edit permission. A non-billable entry always has rate 0. total_amount is computed (duration / 60 x hourly_rate when billable, else 0). A repeat call with the same idempotency_key returns the first entry (deduped: true). To change an entry use time_entries_update; to find entries, time_entries_search.
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": {
"start_time": "<start_time>",
"duration_minutes": "<duration_minutes>"
},
"name": "time_entries_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | No | Task the time is for. Use the `id` that tasks_search returns. | |
| billable | No | Defaults to true. | |
| currency | No | Currency code. | |
| end_time | No | End, epoch ms. | |
| client_id | No | Client the time is for. Use the `id` that clients_search returns. | |
| project_id | No | Project the time is for. Use the `id` that projects_search returns. | |
| start_time | Yes | Start, epoch ms (within the window the server enforces). | |
| description | No | What was worked on. | |
| hourly_rate | No | Omit to use the workspace's resolved rate; a different rate needs the billable-rates edit permission. | |
| idempotency_key | No | Optional. Repeat a call with the same key to avoid doing it twice. | |
| duration_minutes | Yes | Duration in minutes (0-10080). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry | Yes | ||
| deduped | Yes |