Public holidays of a country
get_country_holidaysPublic holidays of a country for one year (2025–2028), including regional ones flagged with their subdivisions. Source: Nager.Date.
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": "get_country_holidays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Four-digit year with data (2025–2028) | |
| country | Yes | ISO 3166-1 alpha-2 country code, e.g. FR |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| count | Yes | ||
| source | Yes | Where the data or the algorithm comes from. | |
| country | Yes | ISO 3166-1 alpha-2 country code | |
| holidays | Yes | ||
| dataYears | Yes | Years the holiday data covers for this country. | |
| sourceUrl | Yes | ||
| countryName | Yes | ||
| lastUpdated | Yes | Date the underlying data set was last generated or checked. |