Approve punch clock record (Planday)
planday_approve_punch_clockApprove a worked shift's punch clock record so it is ready for payroll, optionally correcting start and end times for forgotten or wrong punches. Requires write access to be enabled.
Instructions
Approve the punch clock record of a worked shift on the employee's timesheet, so it is ready for payroll in Planday. By default the punched times are approved; start and end correct them, for example a forgotten or wrong punch-in or punch-out. The shift's record is read first: it must be punched in and out and not yet approved, and the end must be after the start. It is read again afterwards and must show it approved. No note or comment is sent, no wage is set and nothing is paid. 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>"
},
"name": "planday_approve_punch_clock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | The end to approve, local date and time YYYY-MM-DDTHH:MM (default: the punch-out). | |
| start | No | The start to approve, local date and time YYYY-MM-DDTHH:MM (default: the punch-in). | |
| shiftId | Yes | The worked shift (from list_shifts or list_punch_clock_records). |