get_chat_by_id
Retrieve WhatsApp chat metadata by providing a chat JID. Get details like name, participants, or last message for individual or group chats.
Instructions
Get WhatsApp chat metadata by JID.
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_chat_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jid | Yes | The JID of the chat to retrieve (e.g., 123456789@s.whatsapp.net or 123456789-12345678@g.us) |