What the model is told
Get the public holidays for a country in a given year, with dates and names. Use it to check whether a date is a holiday, for example before offering an appointment.
Request
GEThttps://date.nager.at/api/v3/PublicHolidays/{{year}}/{{countryCode}}
Headers
None.
Parameters
year numberFour-digit year, for example 2026.countryCode stringTwo-letter ISO country code, for example GB.
Try this tool
This runs in your browser and calls Nager.Date directly. Nothing goes through our servers.
Engage payload
{
"source": "VOICE_AI",
"tool": {
"id": "0cef472d-d71c-487f-a095-10bc83e09ff4",
"type": "HTTP_REQUEST",
"label": "Get Public Holidays",
"name": "get_public_holidays",
"customName": false,
"description": "Get the public holidays for a country in a given year, with dates and names. Use it to check whether a date is a holiday, for example before offering an appointment.",
"parameters": [
{
"name": "year",
"type": "number",
"description": "Four-digit year, for example 2026."
},
{
"name": "countryCode",
"type": "string",
"description": "Two-letter ISO country code, for example GB."
}
],
"config": {
"endpoint": {
"method": "GET",
"url": "https://date.nager.at/api/v3/PublicHolidays/{{year}}/{{countryCode}}"
},
"headers": [],
"body": null,
"timeout": null
}
}
}IDs are regenerated on every copy.