Set punch-out time (Planday)
planday_set_punch_outSet or correct an employee's punch-out time for a shift, such as when they forgot to punch out.
Instructions
Set or correct when an employee punched out of a shift, for example when they forgot to punch out. The shift's punch clock record is read first; an approved record is not changed, and the punch-out must be after the punch-in. The time is the portal's local time. To correct the punch-in, approve the record with approve_punch_clock and the right start. Off unless writes are enabled (PLANDAY_ENABLE_WRITES, or the gateway host policy enableWrites).
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": {
"shiftId": "<shiftId>",
"end": "<end>"
},
"name": "planday_set_punch_out"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | The punch-out, local date and time YYYY-MM-DDTHH:MM. | |
| shiftId | Yes | The shift the punch clock record belongs to. |