US federal holidays and observances
us_federal_holidaysLists US federal holidays for a year (5 U.S.C. 6103) with the date federal employees observe them when they fall on a weekend (OPM rule: Saturday → Friday, Sunday → Monday), plus common non-holiday observances (Mother's Day, daylight saving changes, Election Day and others). With a date, says whether it's a federal holiday (or observed one) and which is next. Computed from the statutory rules.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "us_federal_holidays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Optional YYYY-MM-DD to check. | |
| year | No | Year, 1971–2100 (default: the current year). | |
| include_observances | No | Include non-holiday observances (default true). |