跳到主要内容

首尔之家支持浏览器中的 AI 智能体

首尔之家支持新的网页标准 WebMCP。浏览器内置的 AI 智能体可以直接使用本站提供的工具,不必猜测该点击哪个按钮。

AI 智能体在这里能做什么

  • search_properties所有页面

    按区域、价格、面积、房间数和类型搜索月租、全租(jeonse)或出售房源。

  • get_current_property房源页面

    读取您正在查看的房源的完整信息。

  • save_current_property房源页面

    收藏您正在查看的房源,或将其从收藏中移除。

  • fill_inquiry_form房源页面

    填写发给该房源经纪人的留言,但不会发送:由您阅读后点击发送。

您的浏览器

正在检查…

试一试

像 AI 智能体一样运行搜索工具,查找江南区的月租办公住宅(officetel)。任何浏览器都可以运行。

search_properties({"district":"gangnam","listing_type":"rent","type":"officetel","limit":3})

如何开启

  1. 在电脑上使用 Chrome。WebMCP 仍在测试中,默认关闭。
  2. 打开 chrome://flags,开启 “WebMCP for testing”,然后重启 Chrome。
  3. 在本站打开 Chrome 中的 AI 智能体(或 Model Context Tool Inspector 扩展程序),请它帮您找房。

各浏览器仍在测试 WebMCP,设置名称会随版本变化。如果步骤与您的界面不符,请在 chrome://flags 中搜索 WebMCP。

开发者

每个页面通过 document.modelContext 注册工具。以下是精简后的搜索工具:

const controller = new AbortController();

document.modelContext.registerTool({
  name: "search_properties",
  description: "Search rental and sale listings on SeoulHomes…",
  inputSchema: {
    type: "object",
    properties: {
      district: { type: "string" },
      listing_type: { type: "string", enum: ["rent", "jeonse", "sale"] },
      max_price: { type: "number" },
    },
  },
  annotations: { readOnlyHint: true, untrustedContentHint: true },
  async execute(input, { signal }) {
    const params = new URLSearchParams(input);
    const res = await fetch("/api/agents/properties?" + params, { signal });
    return JSON.stringify(await res.json());
  },
}, { signal: controller.signal }); // abort() removes the tool

常见问题

什么是 WebMCP?

WebMCP 是 W3C 网络机器学习小组正在制定的网页标准草案。网页列出工具,每个工具有名称、说明和所需输入,浏览器中的 AI 智能体调用这些工具。

它和 MCP 有什么不同?

MCP 把 Claude、ChatGPT 等 AI 应用连接到我们的服务器。WebMCP 在您打开的页面内运行,所以 AI 智能体使用的是您自己的会话:您的语言和您收藏的房源。

AI 智能体能替我联系经纪人吗?

不能。它可以填写表单,但只有您点击发送后才会发出。

需要账户吗?

不需要。搜索、查看和收藏都无需账户。未登录时收藏的房源保存在本设备上,登录后会转入您的账户。

我的浏览器开启了 WebMCP 吗?

只有您自己开启后才会开启。本页顶部的方框会为您检查。

另请参阅