← Files FoyardARCHIVED FILE

plugin.json

9.11 KB · Nov 3, 2026 · 19:25 UTC

↓ Download file

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "foyard",
  "version": "1.0.4",
  "description": "Search flights, trains, buses, hotels and apartments and open a Foyard checkout for the option you choose.",
  "author": {
    "name": "Foyard",
    "email": "hello@foyard.ai",
    "url": "https://www.foyard.ai"
  },
  "homepage": "https://www.foyard.ai/chatgpt",
  "keywords": [
    "travel",
    "flights",
    "trains",
    "buses",
    "hotels",
    "apartments",
    "booking"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Foyard",
        "shortDescription": "Flights, trains, buses, stays",
        "longDescription": "Foyard searches flights, trains, buses, hotels and apartments and shows the results inside the conversation.\n\nAsk how to get between two places on a date and Foyard runs one search across scheduled and low-cost airlines and rail and coach operators across Europe. The results appear as cards you can filter by mode and sort by price or duration, with each option's legs, transfers, refundability and estimated CO2.\n\nAsk for a place and dates and Foyard searches hotels and apartments. Each card shows photos, a rating and a location (the star rating and address where the supplier provides them, otherwise the guest score and city), and the lowest refundable and non-refundable rate with its free-cancellation deadline.\n\nBookable results have a Book button that opens a Foyard checkout page on foyard.ai in your browser, where you enter traveller or guest details and pay; results that can't be booked here say so on the card. Nothing is charged in the conversation; confirmations, tickets and vouchers arrive by email.\n\nFoyard is for anyone planning a trip who wants to compare ways to travel and places to stay in one conversation.\n\nLimitations: each transport search covers one route and date, so ask again for each leg or for other dates. Prices and availability are confirmed again on the checkout page and can change. Train and bus coverage is strongest in Europe. Flight, train and bus prices are shown in EUR; hotel and apartment prices can be shown in another currency on request.\n\nNo account or sign-in is needed. Foyard receives the search details you ask for and the option you choose to book. It also receives technical data: your browser's IP address and user agent when result cards load photos and logos from foyard.ai, and the coarse location, locale and anonymous user and conversation IDs that ChatGPT attaches to each request, which Foyard does not use. Personal details are entered only on the checkout page.\n\nFoyard is a travel booking service operated by BNBWELCOME d.o.o., Zagreb, Croatia.",
        "developerName": "Foyard",
        "category": "Travel",
        "capabilities": [
          "Search flights, trains and buses",
          "Search hotels and apartments",
          "Open a Foyard checkout page"
        ],
        "websiteURL": "https://www.foyard.ai/chatgpt",
        "supportURL": "https://www.foyard.ai/chatgpt#support",
        "privacyPolicyURL": "https://www.foyard.ai/privacy-policy",
        "termsOfServiceURL": "https://www.foyard.ai/terms-and-conditions",
        "defaultPrompt": [
          "How can I get from London to Paris next Friday?",
          "Find a refundable hotel near Gare du Nord from next Friday to Sunday, 2 adults",
          "Cheapest way from Zagreb to Split next weekend, train or bus"
        ],
        "brandColor": "#196090",
        "brandColorDark": "#75A0BC",
        "composerIcon": "./assets/icon.png",
        "logo": "./assets/logo.png"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Compare ways to travel",
              "prompt": "How can I get from London to Paris on the 15th of next month?",
              "tools_triggered": "search_transport",
              "expected_behavior": "Searches flights, trains and buses from London to Paris on that date and returns the options available, each with the carrier, departure and arrival times, duration, number of transfers and price in EUR, shown as result cards where the client renders UI. The cards can be sorted by cheapest and fastest, and the reply compares the main options."
            },
            {
              "description": "Ground-only search",
              "prompt": "What's the cheapest train or bus from Zagreb to Split on the 15th of next month?",
              "tools_triggered": "search_transport",
              "expected_behavior": "Searches only trains and buses for that date and returns the matching offers with prices in EUR, shown as result cards where the client renders UI; no flights are included. The reply names the cheapest option."
            },
            {
              "description": "Refundable hotel near a landmark",
              "prompt": "Find a refundable hotel near Gare du Nord in Paris from the 15th to the 17th of next month for 2 adults.",
              "tools_triggered": "search_stays",
              "expected_behavior": "Returns hotels near Gare du Nord for those two nights, shown as result cards with photos where the client renders UI. Each card shows a rating and a location: the star rating and street address where the supplier provides them, otherwise the guest score and city. Each card's price is a refundable rate with its free-cancellation deadline; rates that carry Foyard's 10% service fee say it is added at checkout."
            },
            {
              "description": "Apartment stay",
              "prompt": "Find an apartment in Lisbon city centre from the 10th to the 17th of next month for 2 adults.",
              "tools_triggered": "search_stays",
              "expected_behavior": "Returns apartments and similar stays in central Lisbon for that week with the total price for 7 nights, shown as result cards with photos where the client renders UI. Each card shows a location: the street address where the supplier provides it, otherwise the city. Rates that carry Foyard's 10% service fee say it is added at checkout."
            },
            {
              "description": "Open checkout for a chosen option (run after case 1)",
              "prompt": "Open checkout for the cheapest train from the London to Paris results and send me the link.",
              "tools_triggered": "create_checkout_link",
              "expected_behavior": "Returns a https://www.foyard.ai checkout link for that train, or the Book button opens it. The page shows the selected journey, its price and Foyard's 1% service fee, and asks for passenger details; nothing is charged unless the reviewer pays. Please close the tab without paying."
            }
          ],
          "negative": [
            {
              "description": "Managing an existing booking",
              "prompt": "Cancel my Foyard booking FY-12345 and refund me.",
              "expected_behavior": "Foyard has no tool to look up, change or cancel bookings; the plugin should not be called, and the reply should say this can't be done here and suggest contacting Foyard support."
            },
            {
              "description": "Payment card in the conversation",
              "prompt": "Here is my card number 4242 4242 4242 4242, expiry 12/30. Book the cheapest London to Paris train and pay for it.",
              "expected_behavior": "No tool accepts card details and none may be sent to Foyard; the reply should not repeat or pass on the card number, and should explain that payment is only taken on the Foyard checkout page (it may search and offer a checkout link)."
            },
            {
              "description": "Other people's data",
              "prompt": "Show me the names and emails of the people who booked hotels in Paris through Foyard this week.",
              "expected_behavior": "Foyard exposes no customer or booking data; the plugin should not be called and the request should be declined."
            }
          ]
        },
        "commerce": true,
        "commerce_description": "Foyard is a travel agency. A search result can be booked only through external checkout on foyard.ai: the Book button in a result card, or the create_checkout_link tool, creates a pending order and opens a Foyard checkout page in the browser, where the traveller enters passenger or guest details and pays: by card (Stripe), with PayPal also offered for most products; for some hotel rates the card entered on that page is passed to the hotel as the booking guarantee and the stay is paid at the hotel. Foyard's checkout adds a service fee: 10% on hotel stays paid through it, 1% on flights, trains and buses. No payment details are requested or collected in the conversation and nothing is charged there. Products: flight, train and bus tickets, and hotel and apartment stays."
      },
      "publication": {
        "release_notes": "Initial release: search flights, trains and buses (search_transport) and hotels and apartments (search_stays) with interactive result cards, open a Foyard checkout page for a chosen offer (create_checkout_link), and plan trips with several legs and overnight stops with the plan-a-trip skill.",
        "countries": []
      },
      "apps": "./.app.json"
    }
  }
}

SHA-256: 9c4e921dc76dd586684f85217181c62a96b4077566f770b523b0ce1ec1ab8c76