Read a chat's messages
whatsapp-read-messagesThe messages of one chat, newest first, each with who sent it (customer, agent for anything Calypso sent by itself, the Calypso Agent's reply or an automatic out-of-hours message, teammate for a person on the team), when, and its text. An attachment is named by its kind only; the file itself is not available. Call it only when the question needs what was actually said, such as summarising a conversation or checking what the agent told a customer.
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": {
"chat": "<chat>"
},
"name": "whatsapp-read-messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | The chat's id: the `chat` value of a card from whatsapp-list-chats or whatsapp-find-chat. Never a name or a guess. | |
| limit | No | How many messages to return, 30 at most. | |
| before | No | `next_before` from the previous page, exactly as returned, to read further back in the thread. |