delete_hours
Remove hours entries from Simplicate timesheets by specifying the hours ID to maintain accurate time tracking and project records.
Instructions
Delete hours 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": {
"hours_id": "<hours_id>"
},
"name": "delete_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours_id | Yes |
Implementation Reference
- The handler function that executes the delete_hours tool logic by calling the Simplicate API to delete the specified hours entry.
async deleteHours(hoursId: string): Promise<void> { await this.client.delete(`/hours/hours/${hoursId}`); }