What this is
An AI agent is software that can carry out a task for you, not only answer questions. You might ask one to "look at this person's recent work and draft them a note." Today, an agent usually has to read a website the way a person would, then guess what to click.
WebMCP is a proposed new web standard, which means browser makers and developers are still working out how it should work. It lets a website give an agent a short menu of things it can do. Each item on the menu is called a tool. It is part of what Chrome calls the agentic web. I added tools for three jobs to this site:
-
See the selected work
Gives the agent the list of projects shown on the homepage.
-
Learn about Chris
Gives the agent the short profile shown on the homepage.
-
Draft a message
Fills in a form for the visitor to review. It cannot press Send. On the homepage this is the real contact form. On this page it is a sample.
Why it matters
A clear menu gives an agent a direct way to do a task, so it does not have to guess its way around the page. The site owner also decides what an agent is allowed to do. Here, an agent can do the typing, but the person decides whether to send anything.
WebMCP is still experimental and may change. Regular visitors will not notice anything on this site, because the menu is only for agents in browsers that support it.
For the bigger picture, read What partners actually need before an agent can act on their site.
How it is built
Chrome's docs describe two ways to give a browser agent structured tools. The imperative API is written in JavaScript. The declarative API adds attributes to an ordinary HTML form. This site uses both.
| Tool | What it does | Built with | Safeguard |
|---|---|---|---|
list_portfolio | Returns the selected work from the homepage. | Imperative API | readOnlyHint |
get_about | Returns the short profile from the homepage. | Imperative API | readOnlyHint |
draft_message | Fills in the real contact form on the homepage, and the declarative sample on this page. | Declarative API | No toolautosubmit, so a person presses Send. |
draft_inquiry | Fills in the imperative sample form on this page. | Imperative API | Checks its own input. Send is turned off. |
The read tools take their answers from the homepage markup, so what an agent reads matches what a visitor sees. They also declare what they return with outputSchema, a recent addition to the WebMCP draft. An automated browser test checks tool names, descriptions and output sizes against Chrome's suggested limits, and checks that each read tool's output matches the schema it declares.
The bookings demo has three more tools of its own: list_services, check_availability and draft_booking. An agent can find an open time and fill in a booking, and only the customer can press Confirm booking.
How to try it
You do not need an AI agent, and you do not need to know how to code. The buttons below do what an agent would do, so you can see the results yourself. You need the Chrome browser on a computer, and it takes about two minutes.
-
Turn on the feature in Chrome
Because WebMCP is still experimental, Chrome keeps it switched off. This step turns it on in your own browser only, and it changes nothing on this website. You can set it back to Default at any time.
- Copy this text into the address bar at the top of Chrome, where you normally type a website, and press Enter:
chrome://flags/#enable-webmcp-testing - Chrome opens its page of experimental settings. Find the highlighted setting at the top and change its menu from Default to Enabled.
- Click Relaunch at the bottom of the window. Chrome restarts. Then come back to this page and check the box below.
Checking this browser... - Copy this text into the address bar at the top of Chrome, where you normally type a website, and press Enter:
-
Ask for site information
Click a button. An agent would make this same request behind the scenes. You should see the information it would receive, taken from the homepage, appear below.
The buttons appear after Step 1. -
Watch it draft an inquiry
Click the button to run the draft tool on this sample form. You should see the fields fill in and a note appear. The sample form cannot send anything.
The form above uses the imperative API, written in JavaScript. The form below does the same job with the declarative API: the tool comes from attributes on the HTML form.
-
Optional: look behind the scenes
You can stop at Step 3 if you like. This step is for anyone curious about what the page offers to an agent, since that normally happens out of sight. DevTools is an inspection panel built into Chrome that developers use to see how a page works. Opening it changes nothing on the website. Its WebMCP section lists the tools on the page and records each time one runs.
- Press Cmd+Option+I on a Mac or F12 on Windows. A panel opens beside or below this page.
- Click the Application tab at the top. If you do not see it, look under the » menu.
- Click WebMCP in the left sidebar of that panel. You should see the four tools under Available tools, listed by their technical names.
- Click
draft_inquiry, enter a sample name, email and message, then click Run tool. - The run appears under Invoked tools. Click it to see its status, the input you entered and the output the agent would receive.
- To close the panel, press the same keys again.
How to know it worked
The test was successful if you saw each of these results:
- Step 1: The box says "It is on" and that your browser can see 4 tools.
- Step 2: The buttons show the same selected work and profile that appear on the homepage.
- Step 3: The sample form fills in, a note says nothing was sent, and the Send button stays off.
- Step 4, if you tried it:
draft_inquiryshows as completed and its output matches the table below.
What the DevTools output means
The output is the reply an agent receives after using a tool. It is written in a format software can read:
| In the output | What it means |
|---|---|
"drafted": true | The form was filled in. |
"sent": false | Nothing was sent. This is the safety rule working. |
"filled": [...] | The form fields the tool filled in. |
"keptVisitorText": [...] | Fields left alone because the visitor had already typed something different. An empty list means there were none. |
"next": "..." | Tells the agent that the visitor must review the form and press Send. |
To test the safety check, clear the form and run draft_inquiry again with not-an-email as the email. You should see "drafted": false, a note that the email is not valid, and an empty form.
What a successful test proves
It shows that a browser can find this site's tools, that the tools return real information, and that the draft tool stops short of sending anything. In these tests, the buttons and DevTools did what an agent would do. It does not show how a particular AI agent would choose or use these tools.
Checked with Chrome's tools
I ran the Agentic Browsing category in Lighthouse 13.6.0 against this page on November 6, 2026. It ran on a local copy of the site in Chromium 153 with WebMCP testing turned on. Lighthouse says this category is still under development.
| Audit | Result | Note |
|---|---|---|
| Accessibility tree | Passed | Agents can read the page structure. |
| WebMCP form coverage | 1 form flagged | Expected. It flags the imperative sample, which has no attributes on purpose. An earlier run flagged a form with none, which is why the site added the declarative API. |
| WebMCP tools registered | 4 tools found | Three imperative and one declarative. The homepage has three: the two read tools and its contact form. |
| WebMCP schemas | Passed | Each tool's input description is valid. |
| Cumulative Layout Shift | Passed (0) | The page does not move while it loads. |
| llms.txt | Passed | Added a short file after the first run showed there was none. |
| Agentic Resource Discovery | Not applicable | This site has no manifest. See the discovery row in the table below. |
What this does not show
The homepage passed the same scored audits. These checks test the tools, not how well a real agent chooses and uses them. I have not run WebMCP Evals, Chrome's method for that. This site has also not joined the WebMCP origin trial, so the tools appear only in a browser with the testing setting turned on.
For developers: technical feedback
You can skip this section unless you build websites. I compared Chromium 153 with WebMCP testing turned on against Chrome 156.0.8078.81 on a Mac. The spec column refers to the WebMCP community draft dated November 2, 2026.
Show the comparison table (12 areas)
| Area | Chromium 153 | Chrome 156 | Spec and docs | Status |
|---|---|---|---|---|
| Input validation | A call missing a required field reached the tool. | Same. executeTool passed {wrong: 5} to a tool that requires n. |
A March 2026 group resolution in issue #92 makes the browser responsible for validation. The draft says only that input is "expected to match." | Open question. This site's draft tool validates its own input. |
| Asking the visitor during a tool | The tool received only its input and signal. |
Same. | Chrome's docs say the draft includes requestUserInteraction(), but I could not find it in the current draft. Design continues in issue #165. |
Open. The draft stops at the form, and the visitor decides. |
| Tool input format | executeTool accepted a JSON string and rejected an object. |
Accepts an object and rejects a string. | The draft specifies an object. | Resolved in 156. This page supports both. |
| Output schema | registerTool accepted outputSchema, but getTools did not return it. Output that broke its schema reached the caller unchanged. |
Not tested yet. | Added to the draft through #254. Chrome's imperative API docs do not list it yet, and the webmcp-evals tool does not pass it to the model. | Open. The read tools declare it anyway, and this site's browser test checks each output against it. |
| High-stakes hint | consequentialHint was missing from getTools annotations. |
Returned as set. | Defined in the draft. | Resolved in 156. |
| API location | document.modelContext only. |
Same. | Uses document.modelContext. |
No issue. Update older guides. |
| Honeypot fields | A spam-trap field hidden with display:none appeared in the declarative tool's input schema. type="hidden" fields did not. |
Not tested. | I did not find this covered in Chrome's declarative API docs. | Open. The contact form uses toolparamdescription to tell agents to leave the field alone. |
| Activation event | toolactivated fired on window, not on document.modelContext. |
Not tested. | Chrome's docs place these events on document.modelContext. |
Avoided. The declarative sample form's note uses the :tool-form-active CSS pseudo-class, which worked in 153. |
| Disabled submit button | A declarative form with a disabled submit button failed with "No submit button was found." | Not tested. | Without toolautosubmit, the docs say the user must click Submit. I did not find this case covered. |
Open. The sample keeps its button enabled and sends nothing. |
| Resetting a declarative form | Calling reset() cleared the fields, but the form still matched :tool-form-active and executeTool stayed pending. |
Not tested. | I did not find this case covered in Chrome's declarative API docs. | Open. This page hides its note with a class when the form is cleared. |
| Declarative tool result | executeTool stayed pending after filling the form, while the form waited for a person. |
Not tested. | Without toolautosubmit, the docs say the user must click Submit. |
Fits the safety rule. In a test with a simulated form service, the agent received the respondWith result after the person pressed Send. If that send fails, a retry does not reach the agent. |
| Discovery | Not applicable. | Not applicable. | Chrome's docs note that clients must visit a site to learn whether it has tools. I did not find a WebMCP entry type in the ARD v0.91 proposal. | Open question. This site has no ARD manifest. |
How I made this
I chose the use case and set the rule that an agent can draft a message but only a person can send it. An AI coding agent wrote the code, the automated browser test and the first draft of this page under my direction. I did not write the code by hand.