add_leave
Add a leave record for an employee by providing employee ID, start date, end date, and leave type.
Instructions
Add a leave record for an 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": {
"employee_id": "<employee_id>",
"start_date": "<start_date>",
"end_date": "<end_date>",
"leave_type": "<leave_type>"
},
"name": "add_leave"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | ||
| leave_type | Yes | ||
| start_date | Yes | ||
| employee_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |