Clock Out (Attendance)
attendance_clock_outCloses an open attendance entry: sets the clock-out time and calculates the duration in minutes. Idempotent – no changes if entry already closed.
Instructions
Close an open attendance entry. Stamps clockOutAt and computes durationMinutes. Idempotent: clocking out an already-closed entry is a no-op. / Cierra una entrada de fichaje abierta. Calcula la duracion en minutos.
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": {
"entryId": "<entryId>"
},
"name": "attendance_clock_out"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entryId | Yes | Open attendance entry ID / ID de la entrada abierta |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| mood | No | ||
| status | No | ||
| location | No | ||
| clockInAt | No | ||
| createdAt | No | ||
| updatedAt | No | ||
| clockOutAt | No | ||
| employeeId | No | ||
| durationMinutes | No |