Get every WhatsApp conversation from the last N hours
get_recent_messagesCatch up on WhatsApp activity by retrieving recent messages grouped by chat, with filters for time, type, and chat category. System notices are excluded by default but can be included.
Instructions
Everything that happened recently, grouped by chat. This is the catch-up tool: one call instead of list_chats plus a read_messages per chat. WhatsApp's own notices — device linking, group membership changes, encryption notices — are left out so the counts are conversation; pass include_system to see them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | Look-back window in hours (1-168) | |
| types | No | Keep only these message types; omit for every type. The limit counts matching messages, so ["call"] returns that many calls, not that many messages of which some are calls. | |
| filter | No | Restrict to unread chats, groups, or one-to-one chats | all |
| include_system | No | Include WhatsApp's own system notices, which are excluded from the bodies and the counts by default |