download_media
Download media from a WhatsApp message and retrieve its content, with options to include full base64 data or save to disk for a local URL.
Instructions
Download media from a WhatsApp message and return its content.
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>"
},
"name": "download_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | The message ID in the format jid:id | |
| include_full_data | No | Whether to include the full base64 data in the response | |
| save_to_disk | No | Whether to save media to disk and return a local URL |