Browser tools
Tool calls that run in the browser, next to the page the user is on, sometimes called WebMCP.
Browser tools are functions a model can call in the browser, next to the page the user is on. Instead of sending the whole page to a server, the tool can read the DOM, highlight a node, or run a small action where the session already lives. Some people call this pattern WebMCP when it is exposed through a standard tool protocol.
This is useful when the data is already in the tab: a logged-in app, a draft, or a UI state that would be awkward to recreate on a server. It also keeps secrets and cookies closer to the user. The tradeoff is that the tool has to be safe to run in a page you do not fully control, and the user should be able to see what is being invoked.
Keep the tool surface small and obvious. A 'get the selected text' or 'list the headings' tool is easier to reason about than a generic 'run any script' tool. Log the calls, and require a click for anything that submits a form or changes data.
If the same job can be done with a public API, prefer the API. In-page tools shine when the page itself is the workspace.