is_holiday
Determine whether a given date is a public holiday in any country using its ISO 3166-1 alpha-2 code. Useful for scheduling and compliance.
Instructions
Check whether a date is a public holiday in a country (ISO 3166-1 alpha-2). Data from the free Nager.Date service.
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". |