Get public holidays
get_public_holidaysRetrieve official public holidays for a country and year, including local names, scope, and types; optionally limit results to nationwide holidays.
Instructions
Fetch official public holidays for a given country and year including local names, global/regional scope, and holiday types.
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": "get_public_holidays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Calendar year (defaults to current UTC year). | |
| global_only | No | If true, return only nationwide holidays (default false). | |
| country_code | Yes | 2-letter ISO country code (e.g. US, DE, GB, JP). |