get_messages
Retrieve messages from a WhatsApp chat using instance name and chat JID, with an optional limit to control the number of messages returned.
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": {
"instanceName": "<instanceName>",
"remoteJid": "<remoteJid>"
},
"name": "get_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of messages to retrieve | |
| remoteJid | Yes | Chat JID | |
| instanceName | Yes | Instance name |