waha_get_chat_messages
Read messages from a chat, newest first, using a chat ID from waha_list_chats. Supports limit, offset, and optional media download.
Instructions
Read messages from a chat, newest first. Use the id from waha_list_chats.
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": {
"session": "<session>",
"chat_id": "<chat_id>"
},
"name": "waha_get_chat_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| chat_id | Yes | ||
| session | Yes | ||
| download_media | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||