跳到正文
所有工具

connect_chatgpt

诊断与系统 · macOS

效果: 写入. 状态: 受限可用.

“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。

macOS

用途

将这台 Mac 连接到 ChatGPT:在用户的 ChatGPT 账户内创建(或修复)LMCP 连接器,使 ChatGPT 可以使用这台 Mac 的工具。只在这台 Mac 上运行。若用户尚未登录,会打开 ChatGPT 窗口让他们自行登录——你绝不会接触其密码,也不会以参数形式传递任何凭据。需要开发者模式,能开启时此工具会将其开启。传入 recreate:true 可删除现有连接器并重新创建(令牌轮换)。返回 run_id 以及每个阶段各一条记录;状态为 needs_user 的阶段是在等待用户,并非出错。首次调用返回预览;confirm: true 才会运行。

必填输入

此平台的架构未声明必填输入,但仍可能存在可选选择器或运行时要求。

权限与确认

架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。

英文规范技术架构 — macOS
{
  "properties": {
    "confirm": {
      "description": "Must be true to run. Without it the call returns a preview and opens nothing.",
      "type": "boolean"
    },
    "recreate": {
      "description": "Delete the existing LMCP connector and create it again (use when its token has to rotate). Default false: an existing, connected connector is left alone.",
      "type": "boolean"
    },
    "wait_seconds": {
      "description": "How long to wait for the run before answering with what happened so far (default 300, max 900). The run continues either way; look it up later by run_id.",
      "type": "integer"
    }
  },
  "required": [],
  "type": "object"
}

文档示例

connect_chatgpt 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{
  "confirm": false
}