{
  "$schema": "https://bazaarmcp.local/schemas/webmcp-manifest.v1.json",
  "version": "1.0",
  "publisher": {
    "name": "Apex Luxury Travel Supplier Portal",
    "id": "supplier_apex_01",
    "contact": "supplier-ops@apex-travel.example",
    "hosted_at": "https://vnmoorthy.github.io/bazaarmcp-supplier-portal/"
  },
  "description": "Function-call tool surface for the Apex supplier portal. Discovered by autonomous procurement agents at /.well-known/webmcp.json.",
  "tools": [
    {
      "name": "query_travel_catalog",
      "description": "Query the supplier catalog for available SKUs by keyword. Returns price and description for each match.",
      "parameters": {
        "type": "OBJECT",
        "properties": {
          "keywords": {
            "type": "ARRAY",
            "items": { "type": "STRING" },
            "description": "Search terms, e.g. ['Ritz', 'Courtyard', 'Concert']"
          }
        },
        "required": ["keywords"]
      }
    },
    {
      "name": "stage_secure_booking",
      "description": "Finalize a booking by submitting the chosen SKUs. The system generates and attaches the masked payment session token automatically. Do NOT pass any payment credentials.",
      "parameters": {
        "type": "OBJECT",
        "properties": {
          "hotel_sku": { "type": "STRING", "description": "Hotel SKU to book" },
          "ticket_sku": { "type": "STRING", "description": "Ticket SKU to book" },
          "reasoning": { "type": "STRING", "description": "Short justification: why these SKUs fit the budget" }
        },
        "required": ["hotel_sku", "ticket_sku", "reasoning"]
      }
    }
  ],
  "policies": {
    "credentialMasking": "Payment credentials are never accepted as tool parameters. The server issues an HMAC-bound session token tied to the masked corporate secret. When configured, real Stripe Test Mode Payment Intents are created for the booking total.",
    "budgetEnforcement": "Total cost must not exceed the budget ceiling passed at session start. Server-side guard overrides agent decisions that breach this."
  }
}
