get_chat
Retrieves WhatsApp chat metadata by JID, with an option to include the last message. Use it to inspect chat details and recent activity from the WhatsApp MCP Server.
Instructions
Get WhatsApp chat metadata by JID.
Args: chat_jid: The JID of the chat to retrieve include_last_message: Whether to include the last message (default True)
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_jid": "<chat_jid>"
},
"name": "get_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_jid | Yes | ||
| include_last_message | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |