Public Holidays by Country (Nager.Date)
calendar.holidays.by_countryPublic holidays for any country and year — 100+ countries, national and regional holidays. Returns date, name (local + English), type. No auth, free, open 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_code": "<country_code>"
},
"name": "calendar.holidays.by_country"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year (default 2026). Supports 2000-2099. | |
| country_code | Yes | ISO 3166-1 alpha-2 country code (e.g. "US", "GB", "DE", "JP", "BR") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |