FeatureJune 7, 20261 min read
WebMCP page tools for embedded chat
Persona chat widgets can now discover and call tools your page registers on document.modelContext, so an embedded agent can search your catalog, read page state, and drive your UI.
webmcppersonasurfacesclient-tools
Your website can now hand browser-side tools to an embedded Runtype agent. Register tools on the page with document.modelContext.registerTool(...) and Persona discovers them each turn, sends them along with the chat request, and executes them in the browser when the model calls them.
- Pause and resume in the browser. When the model calls a page tool, the run pauses, Persona runs the tool on the page, and the run resumes with the result. Parallel calls in one turn are batched into a single resume.
- Off by default, policy-controlled. Each chat surface has a
behavior.webmcppolicy: enable WebMCP, then allow all tools or restrict with origin-scoped allowlist rules and per-call confirmation hints. - A WebMCP dashboard tab. See discovered tools grouped by origin over a 7-day window, check live admit status, and promote a tool into the allowlist in one click.
- An advanced dispatch path. API-key callers can pass
clientTools[]on/v1/dispatchfor non-Persona clients, native apps, and server proxies.