message_context
Retrieve surrounding messages around a specific WhatsApp message ID to provide conversation context. Specify how many messages to show before and after the target message for better understanding of chat flow.
Instructions
Show surrounding messages around a specific message ID for context.
Args:
message_id: The message ID to center on
chat: Chat JID where the message is
before: Number of messages before (default 5)
after: Number of messages after (default 5)Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | ||
| chat | Yes | ||
| before | No | ||
| after | No |