approve_leave_request
Approve a pending leave request and automatically deduct days from the employee's leave balance.
Instructions
Approve a pending leave request and deduct days from the employee's balance. Call this only when acting as an HR manager or team lead.
Args: request_id: Numeric ID of the leave request to approve. manager_note: Optional note from the manager (visible to the employee).
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": "approve_leave_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes | ||
| manager_note | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||