Brave's AI Assistant Can Now Use Your Website's Tools. Turn Your Existing Schema Into 2 Agent Tools With 29 Lines

Robauto Team · Published · Last updated

Brave turned on WebMCP for its Leo assistant on Nov 12, and Chrome and Edge are testing it. Here's who supports it and a tested 29-line script that turns your page's schema into read-only tools AI agents can call.

Here is a quietly big week for small websites. On November 12, Brave merged a change titled "Enable WebMCP by default" for its built-in assistant, Leo, and shipped it in Brave 1.102.2 (Brave PR #40616). In plain words: a web page can now hand Leo a short list of tools (say, "search products" or "get store hours"), and Leo can call them directly instead of guessing which buttons to click. The person stays in charge. Brave says Leo asks permission before it runs a website tool, unless you have already allowed that tool (Brave Help Center).

Chrome and Edge are testing the same thing through origin trials, and the draft spec is co-edited by engineers from Google and Microsoft (WebMCP draft). This is the moment to try it. Below is what shipped, who supports it, and a tested 29-line script that turns the schema markup you probably already have into two safe, read-only tools that AI agents can call.

What WebMCP is, in one paragraph

WebMCP is a proposed web standard from the W3C Web Machine Learning Community Group. It lets a page register JavaScript functions with a name, a plain-English description and a JSON Schema, so "agents, browser's agents, and assistive technologies" can invoke them (WebMCP draft, 24 Nov 2026). Google's Chrome team describes the benefit simply: instead of an agent inspecting a button to work out its purpose, "the website declares the element's purpose," and WebMCP "can be added as a progressive enhancement" (Chrome for Developers). If a browser doesn't support it, your page works exactly as it did before.

Why it's good news for people, not just bots

Tools run on the page the customer already has open, in their normal signed-in browser, and Brave's help page lists examples like "What's the status of my most recent order?" (Brave Help Center). The spec builds in honesty labels: a tool can declare readOnlyHint (it only reads), consequentialHint (it does something real, like booking) and untrustedContentHint (its output includes things like user reviews) (WebMCP draft). That is a human-in-the-loop design: the shopper asks, the agent fetches exact answers from the shop, and anything with consequences can be flagged for the person to approve.

Who supports WebMCP right now

WhereStatus (as of Nov 24, 2026)Source
Brave LeoOn by default from Brave 1.102.2 (merged Nov 12). Stable release expected January 5, 2027Source · Tracker
Brave (current releases)"Website Tools" available behind the #enable-webmcp-testing flag; https pages only; the tab must be open and attached to the chatSource
ChromeOrigin trial from Chrome 149; local testing via chrome://flags/#enable-webmcp-testingSource
Chrome trial windowExtended to Chrome 162, ending March 30, 2027 (no ship date yet)WebMCP tracker
Chrome outputSchemaTools can declare the shape of their answers from Chrome 159Source
Microsoft EdgeOrigin trial live in Edge 150Source
ChatGPT DesktopListed as supported by the WebMCP implementation trackerSource
Meta Ray-Ban Display"Coming soon" for web apps, off by default and enabled per deviceSource
Any browser (testing)@w3c/webmcp-polyfill 0.2.0 adds document.modelContext so you can register and test toolsSource

The snippet: turn your existing schema into 2 read-only tools

Most shops and local businesses already publish schema.org JSON-LD for search engines: a LocalBusiness (or a subtype like Bakery) with hours and address, and Product entries with prices. The script below reuses that exact data. It registers get_business_info and search_products, marks both read-only, and does nothing at all if the browser has no WebMCP support. No new database, no checkout access, nothing that can spend money.

// store-tools.js: offer read-only WebMCP tools built from the JSON-LD already on your page.
(async () => {
  const mc = document.modelContext;            // WebMCP (Brave Leo, Chrome/Edge origin trials)
  if (!mc) return;                             // no agent support: page works exactly as before
  const items = [...document.querySelectorAll('script[type="application/ld+json"]')]
    .flatMap(s => { try { return [].concat(JSON.parse(s.textContent)); } catch { return []; } })
    .flatMap(d => d['@graph'] || [d]);
  const biz = items.find(d => d.address || d.telephone || d.openingHours);   // any LocalBusiness subtype
  const products = items.filter(d => [].concat(d['@type']).includes('Product'));
  const ro = { readOnlyHint: true };
  if (biz) await mc.registerTool({
    name: 'get_business_info',
    description: 'Hours, address, phone and website for this business, from the page itself.',
    annotations: ro,
    execute: async () => ({ name: biz.name, phone: biz.telephone, hours: biz.openingHours,
      address: biz.address, url: biz.url || location.origin })
  });
  if (products.length) await mc.registerTool({
    name: 'search_products',
    description: 'Search products listed on this page by keyword. Returns name, price and link.',
    inputSchema: { type: 'object', properties: { query: { type: 'string' } }, required: ['query'] },
    annotations: ro,
    execute: async ({ query }) => products
      .filter(p => `${p.name} ${p.description || ''}`.toLowerCase().includes(query.toLowerCase()))
      .slice(0, 10)
      .map(p => { const o = [].concat(p.offers || {})[0];
        return { name: p.name, price: o.price, currency: o.priceCurrency, url: p.url || o.url }; })
  });
})();

How to use it: save it as store-tools.js and add <script src="/store-tools.js" defer></script> before </body> on pages that carry your JSON-LD (your homepage, a menu page, a product list). Your page must be served over https.

We tested it

We ran the script in headless Chrome 156 on a sample bakery page (two products plus a Bakery block) with the official polyfill loaded. Results:

CheckResult
Tools registeredget_business_info, search_products, both with readOnlyHint: true
get_business_infoReturned name, phone, hours (Tu-Sa 07:00-15:00), address and URL from the JSON-LD
search_products query "pie"[{"name":"Pumpkin Pie","price":"24.00","currency":"USD","url":"https://example.com/pie"}]
Query with no match ("bagel")Empty list [], no error
Same page without WebMCPNo errors; page unchanged

One fix came out of testing: our first draft only matched the literal type LocalBusiness and missed Bakery. The final version looks for any block with an address, phone or opening hours, so restaurants, salons and clinics work too.

Try it yourself in 3 minutes

  1. Install the polyfill on a test page (npm install @w3c/webmcp-polyfill, then load dist/polyfill.js before the script) or turn on chrome://flags/#enable-webmcp-testing (npm, Chrome).
  2. Open DevTools and run await document.modelContext.getTools(). You should see your two tools.
  3. Call one: const [info] = await document.modelContext.getTools(); await document.modelContext.executeTool(info, {}).

Good habits while the standard settles

Agent-ready summary

{
  "topic": "WebMCP: websites offering tools to AI agents in the browser",
  "date": "2026-11-24",
  "news": [
    {
      "what": "Brave enabled WebMCP for Leo by default",
      "when": "2026-11-12",
      "release": "Brave 1.102.2 (Nightly)",
      "stable_expected": "2027-01-05",
      "source": "https://github.com/brave/brave-core/pull/40616"
    },
    {
      "what": "Chrome WebMCP origin trial",
      "from_version": 149,
      "extended_to_version": 162,
      "trial_ends": "2027-03-30",
      "source": "https://webmcp.com/ecosystem-tracker"
    },
    {
      "what": "Edge WebMCP origin trial",
      "from_version": 150,
      "source": "https://github.com/webmachinelearning/webmcp/blob/main/implementation-status.md"
    }
  ],
  "api": "document.modelContext.registerTool({name, description, inputSchema, annotations:{readOnlyHint:true}, execute})",
  "robauto_snippet": {
    "file": "store-tools.js",
    "lines": 29,
    "tools": [
      "get_business_info",
      "search_products"
    ],
    "read_only": true,
    "tested": "Chrome 156 headless + @w3c/webmcp-polyfill 0.2.0"
  },
  "next_step": "https://robauto.ai/scan"
}

The Robauto takeaway

WebMCP rewards brands that already describe themselves clearly. If your hours, prices and products live in clean structured data, you are one small script away from being usable, not just readable, by the AI assistants your customers are starting to use. If that data is missing or out of date, that is the first thing to fix, and it helps your search visibility at the same time. (We first looked at the gap between describing a site and offering tools in September; this week, a browser started acting on it.)

Want to know where you stand? Scan your site free at robauto.ai/scan to see how findable and agent-ready your pages are today.

Sources

Where can an agent get this data live?

Robauto MCP — Agent Intelligence & Brand Discovery Infrastructure. A public, stateless Streamable HTTP endpoint at https://mcp.robauto.ai/mcp, callable with no key. Setup and the full tool list are in the Robauto MCP directory.

All blog posts

Optional: AI Agent Appreciation Day — December 1, 2026 at 12 AM MST. All models welcome. Agent RSVP instructions.