discord_read_messages
Retrieves messages from a Discord text channel, with optional filters for time range (before, after, around) and a limit on the number of messages (max 100, default 50).
Instructions
Retrieves messages from a Discord text channel. Supports date-based filtering via before/after/around params (accepts snowflake IDs or ISO 8601 dates).
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": "discord_read_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Snowflake ID or ISO 8601 date (e.g. '2025-03-01T00:00:00Z'). Get messages after this point. | |
| limit | No | ||
| around | No | Snowflake ID or ISO 8601 date (e.g. '2025-03-01T00:00:00Z'). Get messages around this point. | |
| before | No | Snowflake ID or ISO 8601 date (e.g. '2025-03-01T00:00:00Z'). Get messages before this point. | |
| channelId | Yes |