get_message_context
Retrieve a specific WhatsApp message and nearby messages (before and after) from the local cache, using the message ID from list_messages. Works offline; no side effects.
Instructions
(reads local cache; works while disconnected) Fetch a specific cached message and the surrounding messages in its chat. Read-only; no side effects. Use list_messages for searching across many chats. Returns a JSON object with the target message and arrays of messages before and after it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | messages to fetch after the target (default 5; non-positive values fall back to the default) | |
| before | No | messages to fetch before the target (default 5; non-positive values fall back to the default) | |
| message_id | Yes | WhatsApp message ID of the target message (use `message_id` from list_messages) |