long_weekends
Fetch extended weekend dates for a country and year from Nager.Date by providing an ISO country code. Use it to plan breaks around public holidays.
Instructions
Get long weekends for a country and year from 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": "long_weekends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year (default: current year). | |
| country_code | Yes | ISO 3166-1 alpha-2 country code. |