is_holiday
Check whether a date is a public holiday in any country using its ISO country code, and get the holiday name if it is. Uses authoritative public-holiday data.
Instructions
Check whether a given date is a public holiday in a country (identified by its ISO 3166-1 alpha-2 code), and return the holiday name if so. Backed by an authoritative public-holiday dataset.
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": {
"date": "<date>",
"country_code": "<country_code>"
},
"name": "is_holiday"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date "YYYY-MM-DD". | |
| country_code | Yes | ISO country code, e.g. "US", "ES", "IN". |