whatsapp_list_attachments
List WhatsApp attachments newest first with captions and download status, filtered by chat, media type and date range to find pictures, videos, documents or voice notes in a local archive.
Instructions
List attachments (pictures, videos, documents, voice notes, stickers, locations), newest first, with captions and whether they were already downloaded. Filter by chat, type and dates.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "whatsapp_list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | Chat name, contact name, phone number or chat_id | |
| after | No | YYYY-MM-DD or YYYY-MM-DDTHH:MM (local time) | |
| limit | No | Default 30, max 200 | |
| before | No | YYYY-MM-DD or YYYY-MM-DDTHH:MM (local time) | |
| media_type | No |