utilpeek: list a country's public holidays for a year
get_public_holidaysutilpeek: public holidays of a country for a year. To count working days use count_or_add_business_days. An unsupported country, subdivision, language or year is a 422 naming the supported values (not charged). Typically under 0.1 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Computed from the python-holidays rules (MIT), not an official calendar: lunar, religious and one-off holidays can be estimates or missing for some years; confirm with an official source for legal or payroll use. Docs: https://tanod.dev/learn/public-holidays-api.html
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 |
|---|---|---|---|
| year | Yes | Year (1990-2100). | |
| country | Yes | ISO 3166-1 alpha-2 country code (e.g. US, GB, PH). | |
| language | No | Optional holiday-name language (e.g. en_US). | |
| subdivision | No | Optional subdivision code or name (e.g. CA). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| year | No | ||
| count | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| source | No | ||
| country | No | ||
| holidays | No | ||
| language | No | ||
| subdivision | No |