get_public_holidays
Get published public-holiday entries for one calendar and year or exact inclusive local date. Use a known region id directly (fr-metropole, gb-england-and-wales, hk-general, oh-de); consult list_holiday_regions only if scope is unknown. OpenHolidays entries retain multilingual names, subdivisions and half-day scope; set nationwide_only=true to exclude regional entries. Government feeds and third-party curated calendars are explicitly distinguished. Empty results do not establish working days; future dates can change, and aggregator dates are not individually government-confirmed.
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": {
"region": "<region>"
},
"name": "get_public_holidays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Exact local calendar date YYYY-MM-DD, for example 2026-12-28; cannot be combined with year. | |
| year | No | Calendar year; defaults to the current year. Only published years are available. Omit when date is supplied. | |
| region | Yes | Calendar identifier from list_holiday_regions, for example gb-england-and-wales. | |
| nationwide_only | No | For OpenHolidays country calendars, keep only entries marked nationwide by the source. Default false includes regional entries with their scopes. Government calendars retain their named territory scope. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| items | Yes | ||
| notice | No | ||
| region | No | ||
| status | Yes | Read this before using values; a successful transport does not establish data availability. | |
| returned | Yes | Domain-specific result count, not necessarily the number of stored records in items. | |
| directory | No | ||
| requested_date | No | ||
| available_years | No | ||
| independently_verified | No | Official-source checks are not independent factual corroboration. |