chat_getContact
Get contact details for a WhatsApp chat by providing chat ID and session ID. Returns the contact associated with the chat.
Instructions
[Chat] Get the contact
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": "chat_getContact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | Unique WhatsApp ID for the given chat (either group or personal) | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |