import_leave_periods
Import leave periods from CSV or XLSX via inline content or server file path; the report lists every rejected line.
Instructions
Import leave periods from a CSV or an XLSX. The content can be written inline, or read from a path on the machine running this server. The report names every line Gryzzly refused.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "import_leave_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | The format. Inferred from the file extension, or `csv` for inline content. | |
| content | No | The file's contents, for a CSV written inline. | |
| file_path | No | A path on the machine running this server, for a CSV or an XLSX. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | Whether the import went through. | |
| errors | No | Every line the importer rejected. |