discord_read_dm
Read messages from a Discord DM channel by ID or contact name. Returns oldest-first messages with timestamps, author, attachments, and pagination to view older history.
Instructions
Reads the most recent messages of a direct conversation, by channel_id (preferred) or by the name shown in discord_list_dms (exactly one of the two). Returns oldest-first messages with local time, author, text, attachments and id, plus hasMore/nextBefore to page back with before. Opening the conversation may mark it as read.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "discord_read_dm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the person or group (case- and accent-insensitive) | |
| limit | No | How many messages to return (default 50, max 300) | |
| before | No | Cursor: only messages older than this id (use nextBefore from the previous response) | |
| format | No | Output format (default markdown) | |
| channel_id | No | Numeric id of the DM channel (from discord_list_dms) |