discord_read_dms
Fetch recent direct messages between the bot and a specified Discord user, oldest to newest, without sending anything. Review DM history with message content, authors, embeds, and timestamps.
Instructions
Read the most recent messages from the bot's DM conversation with a user, oldest-to-newest. Returns { messages: [...] } with id, author, content, embed count, timestamp. Read-only, except that Discord opens an empty DM channel when none exists yet; nothing is sent. For a server channel or thread, use discord_read_messages. With DISCORD_ALLOWED_GUILDS set, the user must be a member of a listed server.
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": {
"user_id": "<user_id>"
},
"name": "discord_read_dms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many recent messages to fetch (1–100). Default 20. | |
| user_id | Yes | Discord user ID (snowflake) of the DM recipient. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messages | Yes |