Public holidays lookup
holidays_lookupPublic holidays of any of about 250 countries and regions for a given year, with optional subdivision, language and category. Cost: 1 credit per call. Output: JSON. {country, year, subdiv, holidays:[{date, name}], count}
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": "<country>",
"year": "<year>"
},
"name": "holidays_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| subdiv | No | State / province / region code or name, e.g. BY, Bayern, CA, SCT | |
| country | Yes | ISO 3166-1 alpha-2 country code, e.g. US, DE, IL | |
| language | No | Language of the holiday names, e.g. de or en_US; default: English where available, else the country's own language | |
| observed | No | Include substitute days such as "Christmas Day (observed)" | |
| categories | No | Holiday categories, default ["public"]; e.g. public, bank, school, government, optional, half_day |