request_global_leave
Submit global leave requests by providing employee ID, start and end dates, reason, countries, and contact details for HR approval and tracking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contact_info | No | Contact information during leave | |
| countries | Yes | Countries for which leave is being requested (e.g., ["USA", "UK"]) | |
| employee_id | Yes | The ID of the employee requesting leave | |
| end_date | Yes | End date of the leave (YYYY-MM-DD) | |
| reason | Yes | Reason for the leave request | |
| start_date | Yes | Start date of the leave (YYYY-MM-DD) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"contact_info": {
"additionalProperties": false,
"description": "Contact information during leave",
"properties": {
"email": {
"description": "Contact email during leave",
"type": "string"
},
"emergency_contact": {
"description": "Emergency contact during leave",
"type": "string"
},
"phone": {
"description": "Contact phone during leave",
"type": "string"
}
},
"type": "object"
},
"countries": {
"description": "Countries for which leave is being requested (e.g., [\"USA\", \"UK\"])",
"items": {
"type": "string"
},
"type": "array"
},
"employee_id": {
"description": "The ID of the employee requesting leave",
"type": "string"
},
"end_date": {
"description": "End date of the leave (YYYY-MM-DD)",
"type": "string"
},
"reason": {
"description": "Reason for the leave request",
"type": "string"
},
"start_date": {
"description": "Start date of the leave (YYYY-MM-DD)",
"type": "string"
}
},
"required": [
"employee_id",
"start_date",
"end_date",
"reason",
"countries"
],
"type": "object"
}