messages_read
Read Discord channel, thread or DM messages oldest first, page up to 5000, and filter results by author, regex content, attachments, bots or a time window.
Instructions
Read messages from a channel, thread or DM, oldest first. limit up to 5000 (paged automatically).
before/after/around take a message id/link or a time ("2026-11-30T12:00Z", "6h", "3d").
Filters (applied after fetching): author id/username, contains (regex), include_bots, has_attachments.
raw=True returns Discord's full message objects instead of the compact view.
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": "<channel>"
},
"name": "messages_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | ||
| raw | No | ||
| after | No | ||
| guild | No | ||
| limit | No | ||
| around | No | ||
| author | No | ||
| before | No | ||
| channel | Yes | ||
| contains | No | ||
| include_bots | No | ||
| has_attachments | No |