Approve a timesheet
Approve one pending timesheet.
MCP tool deputy_write → approve_timesheet
write Confirm
Approves one pending timesheet, which then follows Deputy's payment workflow. Needs the Location Manager or System Administrator role for the pay part. A timesheet with no end time is refused; fix it in Deputy first. Cotlet has no unapprove tool, because Deputy unapproves only in its web app. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| timesheet_id integer required | integer | Timesheet ID from list_timesheets. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "deputy_write",
"arguments": {
"operation": "approve_timesheet",
"arguments": {
"timesheet_id": 4821
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"timesheet_id": 4821,
"employee": "Ana Lopez",
"date": "2026-10-12",
"start": "09:00",
"end": "17:30",
"break_minutes": 30,
"hours": 8,
"status": "approved"
},
"isError": false
}