Back to articles
Every web form should be callable by AI agents (and yours can be today)

Every web form should be callable by AI agents (and yours can be today)

via Dev.to JavaScriptPrasanna Vaidya

AI agents are getting good at using computers. They can browse the web, click buttons, read emails, write code. But when it comes to filling out web forms, they still do it the hard way: CSS selectors, fragile XPath queries, DOM scraping that breaks every time a designer tweaks a class name. Chrome is about to change that. WebMCP: structured tool registration, built into the browser Chrome 146 shipped an Early Preview of WebMCP , a browser-native API that lets websites register their interactive elements as structured tools. Think of it as MCP (Model Context Protocol) for desktop AI, but built directly into the browser itself. When a page registers a tool via WebMCP, an AI agent can see: What the tool is called (e.g. submit_flight_search ) What it does (e.g. "Search for available flights between two cities") What inputs it expects : a full JSON Schema with field types, constraints, and descriptions No more guessing from HTML. No more brittle selectors. The agent just calls the tool. Th

Continue reading on Dev.to JavaScript

Opens in a new tab

Read Full Article
3 views

Related Articles