read_chat
Retrieve the newest messages from a single WhatsApp chat in oldest-first order, with paging by message ID or date to review conversation history and locate audio notes for transcription.
Instructions
Read the latest messages of one chat, oldest first.
limit: 1-50. To page back, pass the returned next_before_message_id as before_message_id. before: an ISO local date/time, to jump to messages earlier than that moment. Voice notes appear with type "audio"; pass their message_id to transcribe_voice.
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_id": "<chat_id>"
},
"name": "read_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| before | No | ||
| chat_id | Yes | ||
| before_message_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |