{
  "id": "lookup.holidays",
  "object": "tool",
  "name": "Public holidays",
  "summary": "Holidays and business days.",
  "description": "Lists public holidays for a country and year (from Nager.Date), including regional ones. Give a date to check whether it's a holiday, a weekend or a business day there.",
  "category": "lookup",
  "hosted_by": "Opentools",
  "runtime": "worker",
  "side_effects": false,
  "status": "live",
  "credits": 0,
  "price": "$0.0000",
  "providers": [
    {
      "id": "opentools",
      "name": "Opentools",
      "price": "$0.0000"
    }
  ],
  "mcp_name": "lookup_holidays",
  "input_schema": {
    "type": "object",
    "properties": {
      "country": {
        "type": "string",
        "pattern": "^[A-Za-z]{2}$",
        "description": "ISO 3166-1 alpha-2 country code, e.g. DE"
      },
      "year": {
        "description": "Year. The date's year, or this year, if omitted.",
        "type": "integer",
        "minimum": 1900,
        "maximum": 2100
      },
      "date": {
        "description": "A date to check, YYYY-MM-DD",
        "type": "string",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      },
      "weekend": {
        "default": [
          0,
          6
        ],
        "description": "Weekend days, 0 = Sunday. Saturday and Sunday by default.",
        "maxItems": 7,
        "type": "array",
        "items": {
          "type": "integer",
          "minimum": 0,
          "maximum": 6
        }
      }
    },
    "required": [
      "country"
    ]
  },
  "kind": "tool"
}