get_recent_messages
Retrieve recent WhatsApp messages from local cache, with options to filter by chat or exclude groups.
Instructions
Get messages from the last N hours from the local cache. Optionally filter to one chatId or exclude groups. Each message includes chat (the chat's human-friendly name) and from (sender's name). NEVER show the raw chatId, msgId, or sender JID to the user - always speak in names. The IDs are only for follow-up tool calls (e.g. get_image needs chatId+msgId).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| limit | No | ||
| chatId | No | ||
| excludeGroups | No |