get_message_context
Retrieve messages before and after specific message IDs to show conversation context around a target message.
Instructions
Get N messages before and after one or more specific message IDs. Use when the user references "what was being said around message X" or wants to see the conversation surrounding a specific message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID | |
| message_ids | Yes | Target message IDs (one or many) | |
| context_size | No | Messages before AND after each target (default 20, max 100) | |
| format | No | Output format: text (default) or json | |
| timezone | No | Timezone for time display (default Asia/Shanghai) |