get_messages
Retrieve messages from a WhatsApp chat by specifying the instance name and chat JID, with optional limit for number of messages to fetch.
Instructions
Get messages from a chat
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instanceName | Yes | Instance name | |
| limit | No | Number of messages to retrieve | |
| remoteJid | Yes | Chat JID |
Input Schema (JSON Schema)
{
"properties": {
"instanceName": {
"description": "Instance name",
"type": "string"
},
"limit": {
"description": "Number of messages to retrieve",
"type": "number"
},
"remoteJid": {
"description": "Chat JID",
"type": "string"
}
},
"required": [
"instanceName",
"remoteJid"
],
"type": "object"
}