Public holidays: list
holidays_list[holidays] List the public holidays of one country for one year, e.g. to tell whether a date is a day off or plan around a holiday. Returns entries of date (YYYY-MM-DD), name (English) and localName (in the country's language). Weekends are not listed. Returns an error for a country Nager.Date does not cover; for mainland China make-up workdays (调休) use holidaycn_year instead.
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>",
"country": "<country>"
},
"name": "holidays_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Four-digit year, e.g. 2026 | |
| country | Yes | Two-letter ISO 3166-1 country code in capitals, e.g. 'US', 'DE', 'TR' |