discord_list_messages
Retrieve recent messages from Discord channels with pagination options to navigate conversation history efficiently.
Instructions
Fetch recent messages from a channel. Paginate with before/after/around cursors. Default limit is 50, max 100.
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_list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ||
| limit | No | Number of messages to fetch (1-100, default 50). | |
| before | No | Return messages before this message ID. | |
| after | No | Return messages after this message ID. | |
| around | No | Return messages around this message ID. |