read_messages
Retrieve and paginate Discord channel or thread messages, newest first by default, with date or message-ID filters for browsing history. Read-only: no posting or deletion.
Instructions
Read channel or thread messages, newest first by default. Paginates past 100 up to 1000 per call. Works on thread ids too; forum channels must be read through their threads (list_threads first). Read-only: this server cannot post.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"channel_id": "<channel_id>"
},
"name": "read_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many messages to read, default 100. | |
| since | No | ISO 8601 date; return only messages newer than this. | |
| before | No | Message id (or ISO date) to start before; use the oldest id from a previous call to page back. | |
| channel_id | Yes | Channel or thread id. | |
| oldest_first | No | Return in chronological order, default true. |