list_messages
Retrieve recent messages from a specific WhatsApp chat by providing its JID or phone number, with an optional limit.
Instructions
Recent messages from one chat (jid or phone number)
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": {
"jid": "<jid>"
},
"name": "list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jid | Yes | ||
| limit | No |