edit_hours
Update selected fields of a time entry. Ensures no changes to entries on sent or paid invoices.
Instructions
Edit an existing time entry. Only the fields you pass are changed.
Confirm with the user before editing an entry that's already on a sent/paid invoice (the server blocks it with INVOICE_LOCK). Requires timesheet:write.
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": {
"entry_id": "<entry_id>"
},
"name": "edit_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| rate | No | ||
| hours | No | ||
| client | No | ||
| project | No | ||
| entry_id | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |