send_direct_message
Send a direct message to any Matrix user. Automatically finds or creates the direct message room and delivers text, HTML, or markdown messages.
Instructions
Send a direct message to a user. Finds existing DM room or creates one automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | User ID to message (e.g. @user:matrix.org) | |
| text | Yes | Message body | |
| format | No | Message format: 'text' (default), 'html', or 'markdown' | text |