discord_get_messages
Retrieve recent channel messages to review conversation history, authors, attachments, and reactions, and paginate older results using message IDs.
Instructions
Retrieve recent messages from a channel (supports reading history, authors, attachments, and reactions).
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": "discord_get_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of messages to retrieve (1-100, default 25). | |
| before | No | Optional message ID to fetch messages before (for pagination). | |
| guild_id | No | Optional guild ID. | |
| channel_id | Yes | The channel ID or name. |