get_base64_from_media_message
Download a media message from WhatsApp and encode it as a base64 string for easy transfer or storage.
Instructions
Download a media message and return it as base64.
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": {
"instanceName": "<instanceName>",
"message": "<message>"
},
"name": "get_base64_from_media_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Message object containing { key: {...} } | |
| convertToMp4 | No | ||
| instanceName | Yes | Name of the Evolution API instance |