List attachments
list_attachmentsList photos, voice messages, videos, documents, and other files in a WhatsApp export, including sender, timestamp, and whether each file is present.
Instructions
List the photos, voice messages, videos, documents and other files the chat refers to, with who sent them, when, and whether the export contains them.
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": {
"path": "<path>"
},
"name": "list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| path | Yes | Path to the WhatsApp export: the .zip from Export chat, or the .txt | |
| limit | No | Default 500 | |
| date_order | No | Date order of the export. Leave as auto unless open_export reported a guess that looks wrong |