get_chat
Retrieve metadata for a specific WhatsApp chat using its phone number or JID. Fetch details like chat name, group status, last message timestamp, unread count, and cached message total.
Instructions
Metadata for one chat: name, group flag, last timestamp, unread, cached message count.
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": "<chat>"
},
"name": "get_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Chat: phone number like +911234567890, or a JID (…@s.whatsapp.net, …@g.us). |