Change a shift's clock in or out
fix_shift_timesChanges the clock in and/or clock out time of a worked shift (a shift_id from get_timesheets), for example to add a forgotten clock out. The original recorded times are kept and the change is shown as a manager edit in the audit log. Times are local, like 2026-03-31 17:00.
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": {
"shift_id": "<shift_id>"
},
"name": "fix_shift_times"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clock_in | No | New clock in time, YYYY-MM-DD HH:mm local | |
| shift_id | Yes | ||
| clock_out | No | New clock out time, YYYY-MM-DD HH:mm local. Adds one to a shift that is still ongoing. |