Pick a tool, edit the arguments, and run it — exactly what an agent does.
document.modelContext.registerTool(). To let a real
agent drive this page:
chrome://flags/#enable-webmcp-testing in Chrome 149+, set it to Enabled, and relaunch.npx serve . — since WebMCP needs an origin-isolated document and won't run from file://.