create_time_entry
Log time for a Harvest project and task by providing project ID, task ID, date, hours, and optional notes.
Instructions
Log time against a Harvest project and task.
Args:
project_id: Harvest project ID.
task_id: Harvest task ID.
spent_date: Date the time was spent (YYYY-MM-DD).
hours: Number of hours to log (can be decimal, e.g. 1.5).
notes: Optional notes for the time entry.
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>",
"hours": "<hours>"
},
"name": "create_time_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | Yes | ||
| notes | No | ||
| task_id | Yes | ||
| project_id | Yes | ||
| spent_date | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |