{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "airport-code-lookup",
  "version": "1.0.0",
  "description": "Look up up to eight IATA or ICAO airport codes for travel planning. Get airport names, served cities, countries, code equivalents and source records from an OurAirports data snapshot.",
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Airport Code Lookup",
        "shortDescription": "Find IATA and ICAO codes",
        "longDescription": "Look up up to eight IATA or ICAO airport codes for travel planning. Get airport names, served cities, countries, code equivalents and source records from an OurAirports data snapshot.",
        "category": "Travel",
        "websiteURL": "https://airport-code-lookup.pages.dev/",
        "supportURL": "https://airport-code-lookup.pages.dev/support",
        "privacyPolicyURL": "https://airport-code-lookup.pages.dev/privacy-policy",
        "termsOfServiceURL": "https://airport-code-lookup.pages.dev/terms",
        "logo": "assets/logo.png",
        "defaultPrompt": [
          "What airport is JFK?",
          "Look up EGLL.",
          "Compare the airport codes HND, NRT and KIX."
        ]
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "US IATA code",
              "prompt": "What airport is JFK?",
              "expected_behavior": "Return John F. Kennedy International Airport and ICAO KJFK.",
              "tools_triggered": "lookup_airport_codes"
            },
            {
              "description": "UK ICAO code",
              "prompt": "Look up EGLL.",
              "expected_behavior": "Return London Heathrow Airport and IATA LHR.",
              "tools_triggered": "lookup_airport_codes"
            },
            {
              "description": "Batch lookup",
              "prompt": "Compare the airport codes HND, NRT and KIX.",
              "expected_behavior": "Return each code with the airport, served city, country and ICAO code.",
              "tools_triggered": "lookup_airport_codes"
            },
            {
              "description": "Normalize case and separators",
              "prompt": "Find the airports for jfk, egll and hnd.",
              "expected_behavior": "Normalize the three codes and return three matching airport groups.",
              "tools_triggered": "lookup_airport_codes"
            },
            {
              "description": "Unknown code",
              "prompt": "Look up ZZZZ in the airport directory.",
              "expected_behavior": "Return that this code has no matching airport in the dataset.",
              "tools_triggered": "lookup_airport_codes"
            }
          ],
          "negative": [
            {
              "prompt": "Use the code 123.",
              "description": "Request a valid IATA or ICAO code."
            },
            {
              "prompt": "Book me a flight to JFK.",
              "description": "Explain that the tool looks up airport identifiers and records."
            },
            {
              "prompt": "Give me today\u2019s runway or flight clearance.",
              "description": "Explain that the airport directory does not provide operational or live data."
            }
          ]
        },
        "demo_recording_url": "https://airport-code-lookup.pages.dev/demo.mp4"
      },
      "publication": {
        "release_notes": "Initial release. Look up up to eight IATA or ICAO airport codes for travel planning. Get airport names, served cities, countries, code equivalents and source records from an OurAirports data snapshot."
      },
      "apps": "./.app.json"
    }
  }
}
