latvia_calendar_statistics
Count working days, weekend days, holidays, total days off and working hours in 2026 or 2027 for a Monday-to-Friday week. Use it for yearly totals, such as how many working days or hours a year has; months gives each month's working days, working hours (a day before a holiday is one hour shorter), weekday_holidays (holidays that fall on a weekday) and pre-holiday dates; for the holiday dates use latvia_holidays, and for leave suggestions use latvia_plan_time_off. year must be 2026 or 2027. apply_transfers=true (2026 only) moves working days and days off as the 2026 transfers do, which bind only specified state-funded institutions; the moved counts are then non-zero.
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": {
"year": "<year>"
},
"name": "latvia_calendar_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | calendar year: 2026 or 2027 | |
| apply_transfers | No | apply the 2026 workday transfers (2026 only; they bind only specified state-funded institutions) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| months | Yes | ||
| holidays | Yes | ||
| total_days | Yes | ||
| weekend_days | Yes | ||
| working_days | Yes | ||
| working_hours | Yes | ||
| moved_days_off | Yes | ||
| total_days_off | Yes | ||
| transfers_applied | Yes | ||
| moved_working_days | Yes |