download_media
Fetches a photo, sticker, voice note, audio, video or document from a WhatsApp message, only when the user asks for it. Paid plan only: on the free plan the call is refused with a note on how to subscribe. Small images are returned as an image you can look at. Everything else returns a download link valid for 15 minutes: share it with the user. You cannot play or transcribe audio yourself. Get message ids from search_messages (media appears as e.g. "[voice note, 0:42]") or read_chat_history.
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 |
|---|---|---|---|
| chat_jid | No | Optional. The chat the message is in; only used as a fallback lookup. | |
| message_id | Yes | The WhatsApp message id |