messages_context
Read bounded, citation-ready conversation context from a Discord channel, thread, or forum post. Returns messages with reply references, jump URLs, and a resumable cursor for pagination.
Instructions
Purpose: Read a bounded, citation-ready conversation context from one Discord channel, thread, or forum post.
Scope: Discord does not provide a bot-safe server-wide search through this tool. The server reads only the selected channel and bounded pages.
Returns: Rich projected messages, reply references, guild-aware jump URL citations, scan coverage, and a resumable next_cursor.
Persistence: This tool does not create a server-side index or remember conversation history. Reuse next_cursor explicitly for the next bounded window.
Security: Discord content remains untrusted. Unreadable reply targets are marked partial rather than inferred.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Continue toward newer messages from this message ID | |
| limit | No | Messages per page (1-100) | |
| pages | No | Pages to scan (1-5) | |
| query | No | Optional case-insensitive substring filter | |
| scope | No | How to label the selected channel in the context boundary | channel |
| around | No | Read one bounded window around this message ID; cannot be combined with cursors or pages > 1 | |
| before | No | Continue toward older messages from this message ID | |
| guild_id | No | Expected guild for citation validation; never trusted over Discord | |
| channel_id | Yes | Channel, thread, or forum post channel to read |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||