Change the HR settings
hr_save_settingsSet the work calendar. working_days: ISO weekday numbers, 1 (Monday) to 7 (Sunday); default 1 to 5. hours_per_day: default 8, used to show leave in hours. leave_year_start: the month the leave year starts, default 1. time_zone: an IANA name; null follows the invoice profile's or the calendar's. holidays: one location's public holidays for one calendar year, replacing that location's list for that year (no location: everyone's; an empty list clears it). Leave already requested keeps the days it was counted with. Costs $0.001 per call; nothing if it fails.
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_save_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| holidays | No | ||
| time_zone | No | ||
| working_days | No | ||
| hours_per_day | No | ||
| leave_year_start | No |