Read the HR settings
hr_get_settingsThe working days, hours per day, the month the leave year starts, the time zone and today's date in it; every leave type; the public holidays of a calendar year (every location's, or one location's with everyone's); and the onboarding and offboarding checklists. Free.
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": "hr_get_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Holidays of this calendar year. Default: this year. | |
| location | No | Only this location's holidays and everyone's. |