strengthen runnable WebMCP demo flow

This commit is contained in:
2026-06-14 15:04:28 +08:00
parent 6f39b960d0
commit 500217f2fd
6 changed files with 31 additions and 27 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ WebMCP 可以理解为“网页给 AI Agent 暴露的一组工具清单和接口
- 执行逻辑:调用后网页做什么
- 返回结果:告诉 Agent 成功还是失败
可以用 `document.modelContext.registerTool` 作为概念示例。需要强调:WebMCP 仍是实验性方向,适合作为渐进增强,不应该假设所有浏览器都已经稳定支持。
可以用 `navigator.modelContext.registerTool` 作为概念示例。需要强调:WebMCP 仍是实验性方向,适合作为渐进增强,不应该假设所有浏览器都已经稳定支持。
### 5. Chrome 新特性快闪