save_media
Download mixed WhatsApp media types (image, audio, video, document) to your computer by providing message IDs, without needing to specify the media type.
Instructions
Generic save-to-disk for any media kind (image / audio / video / document). Use save_image or save_voice when you know the type - they're clearer to read. Use this when you have a mixed list of msgIds and don't want to branch.
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": {
"chatId": "<chatId>",
"msgId": "<msgId>"
},
"name": "save_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| msgId | Yes | ||
| chatId | Yes | ||
| folder | No | ||
| filename | No | ||
| timeoutMs | No | ||
| skipIfExists | No |