跳到正文
所有工具

whatsapp_connect

WhatsApp · macOS · Windows

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

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

macOS

用途

通过在此聊天中直接显示二维码,将 WhatsApp 关联到 Local MCP——无需终端。调用此工具后,在手机上打开 WhatsApp → Settings → Linked Devices → Link a Device,并扫描显示的二维码。扫描后,WhatsApp 工具(whatsapp_list_chats、whatsapp_read_messages、…)即可开始工作。Local MCP 可以关联多个 WhatsApp 账户:add_account: true(可附带可选的标签)会用另一个二维码关联另一个账户,需用该账户的手机扫描;`account` 用于重新关联 whatsapp_list_accounts 所列的某个账户。不带参数时关联默认账户。若该账户已关联,则只会报告这一点。首次调用返回预览,不会启动任何操作;confirm: true 才会显示二维码。其关联方式与任何 WhatsApp Web 设备相同;滥用 WhatsApp 的账户可能会被其限制。

必填输入

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

权限与确认

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

英文规范技术架构 — macOS
{
  "properties": {
    "account": {
      "description": "Which linked WhatsApp account to use: its label or id from whatsapp_list_accounts. Leave it out to use the default account.",
      "type": "string"
    },
    "add_account": {
      "description": "Link an ADDITIONAL WhatsApp account (its own QR, scanned from that account's phone). The accounts already linked stay as they are.",
      "type": "boolean"
    },
    "confirm": {
      "description": "Must be true to show the QR. Without it the call returns a preview and does nothing.",
      "type": "boolean"
    },
    "label": {
      "description": "With add_account: the name for the new account (default \"WhatsApp 2\", …). Unique on this Mac.",
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}

文档示例

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

{
  "confirm": false
}

Windows

用途

通过在此聊天中直接显示二维码,将 WhatsApp 关联到 Local MCP——无需终端。调用此工具后,在手机上打开 WhatsApp → Settings → Linked Devices → Link a Device,并扫描显示的二维码。扫描后,WhatsApp 工具(whatsapp_list_chats、whatsapp_read_messages、…)即可开始工作。Local MCP 可以关联多个 WhatsApp 账户:add_account: true(可附带可选的标签)会用另一个二维码关联另一个账户,需用该账户的手机扫描;`account` 用于重新关联 whatsapp_list_accounts 所列的某个账户。不带参数时关联默认账户。若该账户已关联,则只会报告这一点。首次调用返回预览,不会启动任何操作;confirm=true 才会显示二维码。其关联方式与任何 WhatsApp Web 设备相同;滥用 WhatsApp 的账户可能会被其限制。

必填输入

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

权限与确认

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

英文规范技术架构 — Windows
{
  "properties": {
    "account": {
      "description": "Which linked WhatsApp account to use: its label or id from whatsapp_list_accounts. Leave it out to use the default account.",
      "type": "string"
    },
    "add_account": {
      "description": "Link an ADDITIONAL WhatsApp account (its own QR, scanned from that account's phone). The accounts already linked stay as they are.",
      "type": "boolean"
    },
    "confirm": {
      "description": "Must be true to start the link. Without it, returns a preview.",
      "type": "boolean"
    },
    "label": {
      "description": "With add_account: the name for the new account (default \"WhatsApp 2\", …). Unique on this PC.",
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}

文档示例

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

{
  "confirm": false
}