download_media
Download media content from a WhatsApp media URL and save it to a local file path. Obtain the URL using get_media_info before downloading.
Instructions
Download media content from a WhatsApp media URL. Use get_media_info first to obtain the URL.
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": {
"media_url": "<media_url>",
"save_path": "<save_path>"
},
"name": "download_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_url | Yes | The media download URL (obtained from get_media_info) | |
| save_path | Yes | Absolute file path to save the downloaded media |