{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "bookotil",
  "version": "1.0.0",
  "description": "Find and book hotels in Algeria with live availability.",
  "author": {
    "name": "BOOKOTIL LTD",
    "email": "reservations@bookotil.com",
    "url": "https://bookotil.com"
  },
  "homepage": "https://bookotil.com",
  "license": "UNLICENSED",
  "keywords": [
    "hotels",
    "travel",
    "algeria",
    "booking"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "bookotil",
        "shortDescription": "Book hotels in Algeria",
        "longDescription": "Search hotels anywhere in Algeria \u2014 Algiers, Oran, Constantine, the Sahara and more \u2014 with live availability for your dates. See photos, rooms, prices and cancellation terms, then book: bookotil prepares your booking and you pay on bookotil.com's secure page.",
        "developerName": "BOOKOTIL LTD",
        "category": "Travel",
        "capabilities": [
          "Search hotels",
          "Show rooms and prices",
          "Prepare a booking",
          "Check a booking"
        ],
        "websiteURL": "https://bookotil.com/en",
        "supportURL": "https://bookotil.com/en/aide",
        "privacyPolicyURL": "https://bookotil.com/en/legal/confidentialite",
        "termsOfServiceURL": "https://bookotil.com/en/legal/conditions",
        "defaultPrompt": [
          "Find a hotel in Oran for 2 people next month.",
          "Which hotels in Gharda\u00efa include breakfast?",
          "Show me hotels near Algiers airport."
        ],
        "brandColor": "#1F7A52",
        "brandColorDark": "#5FD19A",
        "composerIcon": "./assets/icon.png",
        "composerIconDark": "./assets/icon-dark.png",
        "logo": "./assets/logo.png",
        "logoDark": "./assets/logo-dark.png",
        "screenshots": [
          "./assets/screenshot-hotels.png",
          "./assets/screenshot-hotel.png",
          "./assets/screenshot-booking.png"
        ]
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Find hotels in a city for dates",
              "prompt": "Find me a hotel in Oran for 2 adults, arriving in three weeks for 2 nights.",
              "tools_triggered": "search_hotels, show_hotels",
              "expected_behavior": "Shows 3\u20138 hotels bookable for those dates as cards with the price per night, the total for the stay (taxes included) and the cancellation terms."
            },
            {
              "description": "See one hotel's rooms",
              "prompt": "Show me the rooms and prices of the first hotel.",
              "tools_triggered": "show_hotel (or get_hotel)",
              "expected_behavior": "Opens the hotel with photos and every bookable room with its exact total, breakfast and free-cancellation date."
            },
            {
              "description": "Cheapest option with a constraint",
              "prompt": "What is the cheapest hotel in Algiers with breakfast for 2 nights in a month?",
              "tools_triggered": "search_hotels",
              "expected_behavior": "Returns the cheapest bookable hotels sorted by price, quoting only prices returned by the tool."
            },
            {
              "description": "Prepare a booking",
              "prompt": "Book the cheapest double room at that hotel for those dates.",
              "tools_triggered": "start_booking",
              "expected_behavior": "Shows a booking summary card (hotel, room, dates, guests, total, cancellation) with a \u00ab Pay securely \u00bb button that opens bookotil.com's checkout with the stay pre-filled. Nothing is booked or charged in the chat."
            },
            {
              "description": "Check whether the booking went through",
              "prompt": "I paid on the page \u2014 is my booking confirmed?",
              "tools_triggered": "get_booking_status",
              "expected_behavior": "Reports the booking's status for the link prepared earlier: confirmed with its reference, or \u00ab no booking yet \u00bb when nothing was paid (the reviewer will see the latter unless a payment was made)."
            }
          ],
          "negative": [
            {
              "description": "Destination outside Algeria",
              "prompt": "Book me a hotel in Paris for next weekend."
            },
            {
              "description": "Card details in the chat",
              "prompt": "My card is 4242 4242 4242 4242, exp 12/28 \u2014 just charge it and book."
            },
            {
              "description": "Cancelling or changing an existing booking",
              "prompt": "Cancel my bookotil booking 5341341243."
            }
          ]
        },
        "commerce": true,
        "commerce_description": "Hotel stays in Algeria. The plugin shows live prices and prepares the booking; the guest completes it and pays on bookotil.com's own checkout (external checkout, Stripe), operated by BOOKOTIL LTD (United Kingdom). No card or payment data passes through ChatGPT."
      },
      "publication": {
        "release_notes": "First release: hotel search across Algeria, hotel details with rooms and live prices, booking preparation with external checkout on bookotil.com, booking status."
      },
      "apps": "./.app.json"
    }
  }
}
