download_media
Downloads media from a specified WhatsApp message and returns the local file path. Provide the message ID and chat JID to retrieve the saved file.
Instructions
Download media from a WhatsApp message and get the local file path.
Args: message_id: The ID of the message containing the media chat_jid: The JID of the chat containing the message
Returns: A dictionary containing success status, a status message, and the file path if successful
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_jid": "<chat_jid>"
},
"name": "download_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_jid | Yes | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||