is_public_holiday
Check whether a given date is a public holiday in a specified country by supplying an ISO 3166-1 country code and YYYY-MM-DD date; returns status and holiday details.
Instructions
Check whether a specific date is a public holiday in a given country.
Args:
country_code: ISO 3166-1 alpha-2 country code (e.g. "US", "GB", "AU").
date: Date to check in YYYY-MM-DD format (e.g. "2025-12-25").
Returns:
Whether the date is a public holiday, and if so, the holiday details.
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_code": "<country_code>",
"date": "<date>"
},
"name": "is_public_holiday"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| country_code | Yes |