waha_get_messages
Retrieve messages from a WhatsApp chat, optionally limiting the count and including media. Use it to fetch chat history.
Instructions
Get messages from a chat
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 |
|---|---|---|---|
| limit | No | Number of messages (default 20) | |
| chatId | Yes | ||
| downloadMedia | No | Include media data (default false) |