download_media
Download media files from WhatsApp messages by specifying message ID and chat. Save images, videos, or documents to a designated output location.
Instructions
Download media from a WhatsApp message.
Args:
message_id: The message ID containing media
chat: Chat JID where the message is
output: Optional output file or directory (defaults to wacli media dir)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"message_id": "<message_id>",
"chat": "<chat>"
},
"name": "download_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | ||
| chat | Yes | ||
| output | No |