Skip to content

users_create_dm

Category: users

Open (or fetch) a DM channel between the bot and a user (POST /users/@me/channels).

  • Send a private message to a user — Discord requires a DM channel id first.
FieldTypeRequiredDescription
recipient_idstringyesUser to DM

\{channel_id, type, recipient_ids\}. Use channel_id with messages_send to deliver the DM.

FieldTypeRequiredDescription
channel_idstringyesDiscord channel ID (snowflake)
typeintegeryes
recipient_idsarrayyes
PropertyValue
Read-onlyno
Destructiveno
Idempotentyes
Open-worldyes
Confirmation requiredno

packages/mcp-core/src/tools/users/create_dm.ts