What the model is told
Get the long weekends in a country for a year, with start and end dates and whether a bridge day is needed. Use it to warn a customer about likely busy or closed periods.
Request
GEThttps://date.nager.at/api/v3/LongWeekend/{{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": "36aa0a24-6220-4c4d-8ec1-11fbf85363fd",
"type": "HTTP_REQUEST",
"label": "Get Long Weekends",
"name": "get_long_weekends",
"customName": false,
"description": "Get the long weekends in a country for a year, with start and end dates and whether a bridge day is needed. Use it to warn a customer about likely busy or closed periods.",
"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/LongWeekend/{{year}}/{{countryCode}}"
},
"headers": [],
"body": null,
"timeout": null
}
}
}IDs are regenerated on every copy.