List public holidays
list_public_holidaysUse this when the user asks what the public holidays are in a country or region for a given year, when a particular holiday falls, or how many holidays a year has. Covers 200+ countries with state and province detail. Do not use it for working-day arithmetic; use add_business_days for that.
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": {
"country": "<country>",
"year": "<year>"
},
"name": "list_public_holidays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Calendar year between 1975 and 2075. | |
| region | No | Optional ISO 3166-2 subdivision code such as AU-NSW or US-CA. Supply it whenever the user names a state or province, otherwise only nationwide holidays are returned. | |
| country | Yes | ISO 3166-1 alpha-2 country code, for example AU, US, GB, NZ, DE. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| region | No | ||
| country | Yes | ||
| holidays | Yes | ||
| holiday_count | Yes | ||
| regional_holidays_excluded | No |