contact_getChat
Retrieve the chat associated with a specific WhatsApp contact using its contact ID and session identifier. Returns null if the chat belongs to the logged-in user.
Instructions
[Contact] Get the chat. Get the chat that corresponds to the contact. Will return null when getting chat for currently logged in user.
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": {
"sessionId": "<sessionId>"
},
"name": "contact_getChat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contactId | No | Unique WhatsApp ID for the contact | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |