Get Holidays
get_holidaysGet all public holidays for a country and year. Returns holiday names and dates. Provide country code (e.g., "US", "GB", "DE") and year.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"year": 2025,
"country_code": "US"
},
"name": "get_holidays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | The year to retrieve holidays for (e.g., 2025) | |
| country_code | Yes | ISO 3166-1 alpha-2 country code (e.g., US, GB, DE, FR) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | The year for which holidays were retrieved | |
| holidays | Yes | List of public holidays for the country and year | |
| country_code | Yes | ISO 3166-1 alpha-2 country code in uppercase |