get_contact_chats
Retrieve all WhatsApp chats involving a specific contact by JID, with pagination to control how many conversations are returned.
Instructions
Get all WhatsApp chats involving the contact.
Args: jid: The contact's JID to search for limit: Maximum number of chats to return (default 20) page: Page number for pagination (default 0)
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": "get_contact_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jid | Yes | ||
| page | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |