get_message_context
Retrieve surrounding WhatsApp messages by message ID to understand conversation context, with configurable counts before and after and optional chat JID disambiguation.
Instructions
Get context around a specific WhatsApp message.
Args: message_id: The ID of the message to get context for before: Number of messages to include before the target message (default 5) after: Number of messages to include after the target message (default 5) chat_jid: Chat containing the message; required when its ID occurs in multiple chats
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| before | No | ||
| chat_jid | No | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |