Create DM draft
create_dm_draftCreate a draft direct message for X, targeting a recipient by ID, username, or existing thread. Supports one media attachment; the message stays unsent until you approve and send it.
Instructions
Create a draft direct message. Requires recipientId or recipientUsername (or conversationId for an existing thread). NOT sent until approved and send_dm_draft is called. Supports one optional media attachment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | DM message text. | |
| mediaPaths | No | Absolute local path for one media attachment. | |
| recipientId | No | 1:1 recipient X user id. | |
| conversationId | No | Existing conversation id (reply in 1:1 or group thread). | |
| participantIds | No | Group: 2+ participant user ids (new group only). | |
| conversationType | No | direct (default) for 1:1, group for new group conversations. | |
| recipientUsername | No | 1:1 recipient @handle (resolved at send time if id omitted). | |
| participantUsernames | No | Group: 2+ @handles resolved at send time (new group only). |