[
  {
    "type": "function",
    "name": "search_bileteavia_flights",
    "description": "Search current Bileteavia flight options for a route and dates. Returned EUR prices already include current Bileteavia admin ticket adjustments, remain indicative, and must be rechecked before reservation. Present the returned continue_search_url so the user can continue on Bileteavia. This tool never creates a lead, reservation, payment, email, or Discord notification.",
    "parameters": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "origin": {
          "type": "string",
          "pattern": "^[A-Z]{3}$",
          "description": "Three-letter origin IATA code, for example RMO."
        },
        "destination": {
          "type": "string",
          "pattern": "^[A-Z]{3}$",
          "description": "Three-letter destination IATA code different from origin, for example CDG."
        },
        "departureDate": {
          "type": "string",
          "format": "date",
          "description": "Departure date in YYYY-MM-DD format, from today through 370 days ahead."
        },
        "returnDate": {
          "type": "string",
          "format": "date",
          "description": "Optional return date in YYYY-MM-DD format, after departure and within 370 days."
        },
        "passengers": {
          "type": "integer",
          "minimum": 1,
          "maximum": 9,
          "description": "Number of adult passengers. Defaults to 1."
        },
        "cabin": {
          "type": "string",
          "enum": [
            "economy",
            "business"
          ],
          "description": "Requested cabin. Defaults to economy."
        },
        "currency": {
          "type": "string",
          "enum": [
            "EUR"
          ],
          "description": "Response currency. Version 1 supports EUR."
        },
        "baggage": {
          "type": "string",
          "enum": [
            "any"
          ],
          "description": "Version 1 accepts any and returns baggage inclusion as not confirmed."
        }
      },
      "required": [
        "origin",
        "destination",
        "departureDate"
      ]
    }
  }
]
