hr_absence_cancel
Cancel an absence by setting its status to cancelled while keeping the original record intact for append-only audit history.
Instructions
Cancel an absence by flipping its status to cancelled (append-only spirit: the row stays, it is never deleted). Requires hr.manage.
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": {
"workspaceId": "<workspaceId>",
"absenceId": "<absenceId>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "hr_absence_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| absenceId | Yes | ||
| workspaceId | Yes | ||
| idempotencyKey | Yes |