Get public holidays for an African country and year
get_public_holidaysReturn the public holidays for a country and calendar year, with each holiday's date, name and type. Names are returned in English wherever the country publishes it; pass a language code for others (Kenya also publishes Swahili).
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": "get_public_holidays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Optional language code for holiday names, e.g. 'sw' for Swahili. | |
| year | Yes | Four-digit calendar year, e.g. 2026. | |
| country | Yes | ISO-2 country code, e.g. NG, KE, GH, ZA. |