listWhatsappMessages
Retrieve messages from a WhatsApp conversation, newest first. Use after to poll for new messages or cursor to page through history.
Instructions
List one conversation's messages, newest first.
Poll forward with after, the id of the newest message you have, to get
only new ones. Page back through history with cursor. Do not pass both.
(Tags: WhatsApp)
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": {
"conversation_id": "<conversation_id>"
},
"name": "listWhatsappMessages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Return messages newer than this message id. `next_cursor` is null in this mode. | |
| limit | No | Rows per page. | |
| cursor | No | The `next_cursor` from the previous page. Do not combine it with `after`. | |
| conversation_id | Yes | The conversation to read. |