List exact Discord private messages
list_direct_messagesReads one bounded page of messages from an exact one-to-one Discord DM channel for a configured user, re-verifying channel identity, participants, and recipient policy on every call.
Instructions
Read one bounded page from an exact caller-known one-to-one Discord DM channel for one separately configured ordinary user. Re-verifies pinned connector identity, exact channel participants, and recipient policy on every call. Returns plain text or supported callback-free static Components V2 layouts transiently with exact IDs, deterministic previews, untrusted link destinations, presentation classification, and bounded aggregate counts, while omitting generated and custom-ID component actions, profiles, avatars, attachment URLs, raw payloads, group DMs, discovery, and persistence.
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>",
"recipientId": "<recipientId>"
},
"name": "list_direct_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| channelId | Yes | Exact one-to-one DM channel ID already known to the caller | |
| recipientId | Yes | Exact separately configured ordinary Discord user ID | |
| beforeMessageId | No | Optional exact message ID cursor for the next older page |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| schemaVersion | Yes |