cancel_leave
Cancel a leave request by providing its request ID. If the leave was already approved, the canceled days are automatically credited back to the employee's balance.
Instructions
Cancel a leave request. If it was already approved, the days are credited back to the employee's balance.
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": {
"request_id": "<request_id>"
},
"name": "cancel_leave"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes |