whatsapp_save_media
WhatsApp · macOS · Windows
效果: 写入. 状态: 受限可用.
“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。
macOS
用途
将一条 WhatsApp 消息的媒体(PDF、DOCX 或 XLSX 等文档、图片、视频,或语音消息/音频)保存为本地文件夹中的文件。chat_id 和 message_id 来自 whatsapp_read_messages 或 whatsapp_search_messages(其 `media` 字段已设置的消息)。它绝不会替换文件:如果名称已被占用,则保存为 «name (2).ext» 并予以说明。
必填输入
chat_idmessage_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 of the message, from whatsapp_read_messages",
"type": "string"
},
"destination": {
"description": "Folder to save the file into. Defaults to the Downloads folder.",
"type": "string"
},
"message_id": {
"description": "message_id of the message that carries the media, from whatsapp_read_messages",
"type": "string"
}
},
"required": [
"chat_id",
"message_id"
],
"type": "object"
}文档示例
whatsapp_save_media 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。
{
"chat_id": "12025550123@s.whatsapp.net",
"message_id": "3EB0DEMO0002"
}Windows
用途
将一条 WhatsApp 消息的媒体(PDF、DOCX 或 XLSX 等文档、图片、视频,或语音消息/音频)保存为本地文件夹中的文件。chat_id 和 message_id 来自 whatsapp_read_messages 或 whatsapp_search_messages(其 `media` 字段已设置的消息)。它绝不会替换文件:如果名称已被占用,则保存为 «name (2).ext» 并予以说明。
必填输入
chat_idmessage_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 of the message, from whatsapp_read_messages",
"type": "string"
},
"destination": {
"description": "Folder to save the file into. Defaults to the Downloads folder.",
"type": "string"
},
"message_id": {
"description": "message_id of the message that carries the media, from whatsapp_read_messages",
"type": "string"
}
},
"required": [
"chat_id",
"message_id"
],
"type": "object"
}文档示例
whatsapp_save_media 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。
{
"chat_id": "12025550123@s.whatsapp.net",
"message_id": "3EB0DEMO0002"
}