read_messages
Retrieve message history from a Discord channel, using before, after, or around message IDs to page through conversations.
Instructions
Read message history from a channel with pagination support (before, after, around)
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": {
"channelId": "<channelId>"
},
"name": "read_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Get messages after this message ID | |
| count | No | Number of messages to retrieve (1-100, default: 50) | |
| around | No | Get messages around this message ID | |
| before | No | Get messages before this message ID | |
| channelId | Yes | Discord channel ID |