跳到正文
所有工具

telegram_disconnect

Telegram · macOS · Windows

效果: 发送. 状态: 受限可用.

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

macOS

用途

断开 Telegram 账户与这台 Mac 上 LMCP 的连接:在 Telegram 端注销该会话,并将其从 Keychain 中移除;已添加的账户也会从 LMCP 的账户列表中移除。你的聊天记录仍保留在 Telegram 中。`account` 用于选择具体账户(默认:默认账户)。这是一项写入操作:首次调用(confirm=false)只返回预览;confirm=true 才会断开。

必填输入

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

权限与确认

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

英文规范技术架构 — macOS
{
  "properties": {
    "account": {
      "description": "Which linked Telegram account to use: its label or id from telegram_list_accounts. Leave it out to use the default account.",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to actually disconnect.",
      "type": "boolean"
    }
  },
  "required": [],
  "type": "object"
}

文档示例

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

{
  "account": "work",
  "confirm": false
}

Windows

用途

断开 Telegram 账户与这台电脑上 LMCP 的连接:在 Telegram 端注销该会话,并将其从 Windows 凭据管理器中移除;已添加的账户也会从 LMCP 的账户列表中移除。你的聊天记录仍保留在 Telegram 中。`account` 用于选择具体账户(默认:默认账户)。这是一项写入操作:首次调用(confirm=false)只返回预览;confirm=true 才会断开。

必填输入

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

权限与确认

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

英文规范技术架构 — Windows
{
  "properties": {
    "account": {
      "description": "Which linked Telegram account to use: its label or id from telegram_list_accounts. Leave it out to use the default account.",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to actually disconnect.",
      "type": "boolean"
    }
  },
  "required": [],
  "type": "object"
}

文档示例

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

{
  "account": "work",
  "confirm": false
}