log_time
Records a time entry in Harvest using project, task, hours, optional notes, and date to track work hours accurately.
Instructions
Log a time entry to Harvest
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>",
"hours": "<hours>"
},
"name": "log_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | Yes | Number of hours (0-24) | |
| notes | No | Notes about the time entry | |
| task_id | Yes | The ID of the task | |
| project_id | Yes | The ID of the project | |
| spent_date | No | Date in YYYY-MM-DD format |