Bulk import requests (Pro)
leave_importBulk-create leave requests from CSV/TSV with a header row; defaults status to pending and reports overlapping rows without applying them.
Instructions
Pro. Bulk-create leave requests from a CSV/TSV. First row is a header: employee,type,start,end,halfDay,status,reason. status may be omitted (defaults to pending) or be approved/rejected. Each request is still checked for overlap conflicts; a conflicting row is reported, not applied. watermark-free, full CRUD.
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": {
"csv": "<csv>"
},
"name": "leave_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | Yes | CSV text, newline-separated, first row header: employee,type,start,end,halfDay,status,reason |