whatsapp_forward_message
WhatsApp · macOS · Windows
效果: 发送. 状态: 受限可用.
“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。
macOS
用途
将一条 WhatsApp 消息(文本、文档、图片、视频或语音消息/音频)转发到另一个聊天,并标记为已转发。chat_id 和 message_id 来自 whatsapp_read_messages;to_chat_id 必须来自 whatsapp_list_chats——绝不要编造 ID。这是一项写入操作:第一次调用(confirm=false)返回预览但不发送;设置 confirm=true 才会真正发送。
必填输入
chat_idmessage_idto_chat_id
输入名称会严格保持工具要求的形式。下方可展开的架构中保留英文规范技术定义。
权限与确认
架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。
- 仅使用用户在此平台上授权的应用、账户和资源。请查阅此工具针对平台的说明,以了解其连接和权限要求;本目录不声称需要额外的 OAuth 范围或操作系统授权。
英文规范技术架构 — 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"
},
"chat_id": {
"description": "Chat ID the message is in, from whatsapp_read_messages",
"type": "string"
},
"confirm": {
"description": "Must be true to actually send. Without it, returns a preview.",
"type": "boolean"
},
"message_id": {
"description": "message_id of the message to forward, from whatsapp_read_messages",
"type": "string"
},
"remember": {
"description": "With confirm: true, also stop asking for this kind of action from now on. Only when the person said so (\"don't ask again\"). The person can revoke it in LMCP or with set_always_allowed.",
"type": "boolean"
},
"to_chat_id": {
"description": "Chat ID to forward it to, from whatsapp_list_chats",
"type": "string"
}
},
"required": [
"chat_id",
"message_id",
"to_chat_id"
],
"type": "object"
}文档示例
whatsapp_forward_message 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。
{
"chat_id": "12025550123@s.whatsapp.net",
"confirm": false,
"message_id": "3EB0DEMO0001",
"to_chat_id": "12025550124@s.whatsapp.net"
}Windows
用途
将一条 WhatsApp 消息(文本、文档、图片、视频或语音消息/音频)转发到另一个聊天,并标记为已转发。chat_id 和 message_id 来自 whatsapp_read_messages;to_chat_id 必须来自 whatsapp_list_chats——绝不要编造 ID。这是一项写入操作:第一次调用(confirm=false)返回预览但不发送;设置 confirm=true 才会真正发送。
必填输入
chat_idmessage_idto_chat_id
输入名称会严格保持工具要求的形式。下方可展开的架构中保留英文规范技术定义。
权限与确认
架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。
- 仅使用用户在此平台上授权的应用、账户和资源。请查阅此工具针对平台的说明,以了解其连接和权限要求;本目录不声称需要额外的 OAuth 范围或操作系统授权。
英文规范技术架构 — 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"
},
"chat_id": {
"description": "Chat ID the message is in, from whatsapp_read_messages",
"type": "string"
},
"confirm": {
"description": "Must be true to actually send. Without it, returns a preview.",
"type": "boolean"
},
"message_id": {
"description": "message_id of the message to forward, from whatsapp_read_messages",
"type": "string"
},
"remember": {
"description": "With confirm=true, and only after the person said so: do this kind of action without asking from now on («don't ask me again»). The preview names the family.",
"type": "boolean"
},
"to_chat_id": {
"description": "Chat ID to forward it to, from whatsapp_list_chats",
"type": "string"
}
},
"required": [
"chat_id",
"message_id",
"to_chat_id"
],
"type": "object"
}文档示例
whatsapp_forward_message 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。
{
"chat_id": "12025550123@s.whatsapp.net",
"confirm": false,
"message_id": "3EB0DEMO0001",
"to_chat_id": "12025550124@s.whatsapp.net"
}