World Holidays
WorldHolidaysWorld Holidays: World Holidays lists public holidays and observances for any two-letter country code, optionally for a state or region. It returns holiday dates, local and English names, day of week, event types and substitute-day flags, and can check whether a single date is a holiday. (Cost: 2 credits)
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>"
},
"name": "WorldHolidays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Check a single date (YYYY-MM-DD); returns isHoliday and only the holidays on that day. Overrides year | |
| type | No | Only return these holiday types, comma-separated: public, bank, school, optional, observance | |
| year | No | The year for which you want to get the holidays | |
| region | No | State or region code (e.g. BY, CA or US-CA) to include regional holidays | |
| country | Yes | The 2-letter country code for which you want to get the holidays |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |