get_chat
Retrieve detailed metadata for a WhatsApp chat by JID, phone number, or contact name, including unread and message counts, group members, and media breakdowns.
Instructions
Retrieve detailed metadata for a WhatsApp chat session by JID, phone number, or contact name. Includes unread count, message count, group membership roster (for group chats), and media breakdowns.
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": {
"chat_id": "<chat_id>"
},
"name": "get_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | WhatsApp JID (e.g. 1234567890@s.whatsapp.net or group@g.us), phone number, or contact name. |