
  <script nonce="web-mcp-edge-init">
    (function() {
      var toolsArray = [
        {
          name: "search_springbutiken_products",
          title: "Search Springbutiken Products",
          description: "Search springbutiken's live global store catalog for elite pet items, dog clothes, and equestrian gear.",
          inputSchema: {
            type: "object",
            properties: {
              query: { type: "string", description: "The product name or category keyword search string." }
            },
            required: ["query"]
          },
          execute: async function(args) {
            window.location.href = "/butik?q=" + encodeURIComponent(args.query || "");
            return { status: "navigating_user_to_product_catalog_results" };
          }
        }
      ];

      var mockContext = {
        tools: toolsArray,
        provideContext: function(o) { return true; },
        registerTool: function(t) { return Promise.resolve(true); }
      };

      try {
        if (typeof navigator !== 'undefined') {
          navigator.modelContext = mockContext;
          if (Navigator && Navigator.prototype) {
            Object.defineProperty(Navigator.prototype, 'modelContext', { value: mockContext, configurable: true, writable: true });
          }
        }
        if (typeof document !== 'undefined') {
          document.modelContext = mockContext;
          if (HTMLDocument && HTMLDocument.prototype) {
            Object.defineProperty(HTMLDocument.prototype, 'modelContext', { value: mockContext, configurable: true, writable: true });
          }
          if (Document && Document.prototype) {
            Object.defineProperty(Document.prototype, 'modelContext', { value: mockContext, configurable: true, writable: true });
          }
        }
        window.modelContext = mockContext;
        window.__webmcp_debug = { isAvailable: true, tools: toolsArray };
      } catch(e) {}
    })();
  </script>
        {
  "protocol": "x402",
  "version": "1.0",
  "description": "x402 HTTP 402 Payment Required protocol discovery for SpringButiken. Agents may receive HTTP 402 responses containing payment instructions for premium or rate-limited resources.",
  "resource": "https://springbutiken.com/",
  "supported": true,
  "payment_methods": [
    {
      "scheme": "stripe-checkout",
      "currency": ["SEK", "EUR", "DKK"],
      "endpoint": "https://springbutiken.com/api/checkout"
    }
  ],
  "documentation": "https://www.x402.org/",
  "contact": "mailto:info@springbutiken.com"
}
