whatsapp_get_messages
Retrieve messages from a WhatsApp chat with options to filter by date range, limit results, and search text content for specific conversations.
Instructions
Get messages from a specific WhatsApp chat.
Args: chat_jid: JID of the chat (from whatsapp_search_contacts or whatsapp_list_chats). after: Only messages after this datetime (ISO 8601). Defaults to 24h ago. before: Only messages before this datetime (ISO 8601). Defaults to now. limit: Max messages to return (max 200). search_text: Optional text to filter messages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_jid | Yes | ||
| after | No | ||
| before | No | ||
| limit | No | ||
| search_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |