waha_get_messages
Retrieve WhatsApp chat messages with content, sender details, timestamps, and status. Supports pagination and optional media downloads for chat analysis.
Instructions
Get messages from a specific WhatsApp chat. Returns message content, sender, timestamp, and status. Default limit is 10 messages.
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>"
},
"name": "waha_get_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Chat ID to get messages from (format: number@c.us for individual, number@g.us for group) | |
| limit | No | Number of messages to retrieve (default: 10, max: 100) | |
| offset | No | Offset for pagination | |
| downloadMedia | No | Download media files (default: false) |