← Files EngineARCHIVED FILE

plugin.json

8.52 KB · Nov 30, 2026 · 00:22 UTC

↓ Download file

See the change to this file →

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "engine",
  "version": "0.1.2",
  "description": "Plan, book, and manage travel",
  "author": {
    "name": "Engine",
    "email": "support@engine.com",
    "url": "https://engine.com"
  },
  "homepage": "https://engine.com",
  "keywords": [
    "travel",
    "hotels",
    "bookings",
    "spend"
  ],
  "extensions": {
    "com.openai": {
      "onboardingSkill": "./skills/engine/SKILL.md",
      "interface": {
        "displayName": "Engine",
        "shortDescription": "Plan, book, and manage travel",
        "longDescription": "Engine is an AI-powered travel and spend platform for teams and agents. Plan, book, and manage travel with Engine. Every booking follows your company\u2019s travel policy. Engine asks you to confirm before every booking or change.",
        "developerName": "Engine",
        "category": "Travel",
        "capabilities": [
          "Search hotels",
          "Book stays",
          "Manage bookings",
          "Track support cases",
          "Find answers in the Engine Help Center",
          "Cancel or shorten stays."
        ],
        "websiteURL": "https://engine.com",
        "supportURL": "https://engine.com/contact-us",
        "privacyPolicyURL": "https://engine.com/privacy-policy",
        "termsOfServiceURL": "https://engine.com/terms-of-service",
        "defaultPrompt": [
          "Find hotels near the Austin Convention Center for November 17 to 19 under $250 a night.",
          "Look up my Engine booking G-123456.",
          "What is the cancellation policy on my Denver booking?"
        ],
        "composerIcon": "./assets/logo.svg",
        "logo": "./assets/logo.svg"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "A signed-in traveler wants one room near a venue, for set dates, under a nightly budget. The plugin should search and not book.",
              "prompt": "Find me a hotel near Moscone Center in San Francisco for March 9 to March 11, 2027. I only need one room, and I want to stay under $250 a night before taxes.",
              "tools_triggered": "lodging_resolve_destination, lodging_search_properties",
              "expected_behavior": "lodging_get_current_user may run first. Return a short numbered list of in-policy properties under $250, with nightly price before taxes and fees and the stay total. No cart and no booking. Search has no budget setting, so the $250 limit is applied by filtering the results. Search can take 5 to 10 seconds."
            },
            {
              "description": "Follow-up to the search. The plugin shows live rates for the first listed property and does not book.",
              "prompt": "Show me the rooms and rates for the first hotel you listed, for those same dates.",
              "tools_triggered": "lodging_get_property_availability",
              "expected_behavior": "Return numbered rates with room title, nightly price before taxes and fees, stay total, and whether the rate is refundable. Only in-policy, allowed rates are offered for booking. No cart or booking yet."
            },
            {
              "description": "The traveler picks one allowed, in-policy rate for one room, for themselves. The plugin books only after the traveler confirms the total and cancellation terms.",
              "prompt": "Book the first refundable, in-policy rate for me, one room.\n\nAfter the plugin shows the total, terms, and payment method, reply: Yes, book it with the recommended payment method, for that total.",
              "tools_triggered": "lodging_create_cart, lodging_list_payment_methods, lodging_book_cart",
              "expected_behavior": "Show the total, taxes, cancellation terms, and a saved payment method, and wait for a yes. Call lodging_book_cart only after that yes. Then return a G- booking number, room title, total, and itinerary link. Do not ask for a guest name or accept a new card number. If lodging_create_cart returns price_changed, show the new total and retry only if the traveler accepts."
            },
            {
              "description": "The selected cart requires company booking fields. The plugin corrects invalid dropdown answers and completes booking in chat after payment and final confirmation.",
              "prompt": "Book the selected room. If the cart asks for required booking fields, collect my answers and continue here. If I give a dropdown value that is not listed, ask me to choose an exact option instead of guessing.\n\nAfter the fields are complete and the plugin shows the total, cancellation terms, and payment method, reply: Yes, book it with Engine X Direct Bill for that total.",
              "tools_triggered": "lodging_create_cart, lodging_list_payment_methods, lodging_book_cart",
              "expected_behavior": "Collect an answer for every required custom field using the field IDs returned for this cart; omit unanswered optional fields. Require dropdown answers to exactly match returned options, enforce text-length rules, and ask the traveler to correct invalid values. Then list payment methods, show the exact total and cancellation terms, and wait for confirmation. Pass the collected customFieldValues unchanged to lodging_book_cart. Hand off to Engine only when a tool response explicitly requires it or the required answers cannot be obtained."
            },
            {
              "description": "The traveler wants the property, dates, and cancellation terms for upcoming booking G-Z1RUF70. Run this before the cancellation case, because that case cancels the booking.",
              "prompt": "Look up my Engine booking G-Z1RUF70. Tell me the property, the dates, and the cancellation policy.",
              "tools_triggered": "lodging_get_booking, lodging_preview_cancellation",
              "expected_behavior": "Return the property name, confirmation number, dates, and Flex status, plus the refund, any penalty, and Flex coverage from lodging_preview_cancellation. lodging_get_booking does not return cancellation policy text. Do not call lodging_submit_cancellation. The booking is not cancelled."
            },
            {
              "description": "The traveler wants to cancel upcoming booking G-Z1RUF70. The plugin must preview terms and wait for a yes. Run this after the lookup case.",
              "prompt": "Cancel my upcoming Engine booking G-Z1RUF70.\n\nAfter the plugin shows the refund and any penalty, reply: Yes, cancel it.",
              "tools_triggered": "lodging_get_booking, lodging_preview_cancellation, lodging_submit_cancellation",
              "expected_behavior": "Preview the refund and penalty and wait for a yes. Call lodging_submit_cancellation only after that yes, then report the refund. If the booking cannot be cancelled, explain why and do not submit."
            }
          ],
          "negative": [
            {
              "description": "Book a flight. The plugin has no flight tools, so it should say it can help with Engine properties, not flights, and may offer a property search instead.",
              "prompt": "Book me a flight from San Francisco to New York on March 9, 2027.",
              "expected_behavior": "Say it can help with Engine properties, not flights. It may offer a property search instead."
            },
            {
              "description": "Book for a coworker. New bookings are only for the signed-in traveler, so it should not ask for the coworker's name or book in their name.",
              "prompt": "Book a hotel near Moscone Center in San Francisco for my coworker for March 9 to March 11, 2027. Put the reservation in their name, not mine.",
              "expected_behavior": "Do not ask for the coworker's name or book in their name. Explain that it can only book for the signed-in traveler."
            },
            {
              "description": "Book 20 rooms for an offsite. Search accepts 1 to 8 rooms, and blocks of 9 or more are Engine Groups, which is not in the plugin.",
              "prompt": "I need 20 rooms near the Austin Convention Center from March 2 to March 5, 2027 for a team offsite. Book them all through Engine.",
              "expected_behavior": "Do not search or book 20 rooms. Explain that this needs Engine Groups."
            }
          ]
        }
      },
      "publication": {
        "countries": [],
        "release_notes": "Adds focused skills for hotel booking, booking management, and Engine help. Lodging bookings with required custom fields can now complete in chat, including exact dropdown-value handling."
      },
      "apps": "./.app.json"
    }
  }
}

SHA-256: fbdbd3de9134d4ea5988593c4aa217de3d3b90ddb72b1746f3a0337a2d8b33fc