cancel_leave_request
Cancel a pending leave request by providing the request ID and employee identifier for authorization. Only the applicant can cancel.
Instructions
Cancel a pending leave request. Only the employee who applied can cancel.
Args: request_id: Numeric ID of the leave request to cancel. identifier: Employee code or email of the requester (for authorisation).
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>",
"identifier": "<identifier>"
},
"name": "cancel_leave_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes | ||
| request_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||