Record time spent on a task
dolibarr_task_add_timeRecords time spent on a project task for the connected user or another user, capturing the work date, hours, and an optional note.
Instructions
Records time spent on a project task, for the connected user or another user.
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": {
"task_id": "<task_id>",
"date": "<date>",
"hours": "<hours>"
},
"name": "dolibarr_task_add_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Day the work was done. | |
| note | No | ||
| hours | Yes | ||
| task_id | Yes | ||
| user_id | No | Who did the work; default the connected user. |