sendDirectMessage
Send a direct message to a specified Twitter user, including optional text and media attachments, via the Twitter MCP Server for streamlined communication.
Instructions
Send a direct message to a specified user
Input Schema
Name | Required | Description | Default |
---|---|---|---|
attachments | No | Optional array of media IDs to attach to the message | |
mediaId | No | Optional media ID for attaching media to the message | |
recipientId | Yes | The ID of the user to send the message to | |
text | Yes | The text content of the direct message |
Input Schema (JSON Schema)
{
"properties": {
"attachments": {
"description": "Optional array of media IDs to attach to the message",
"items": {
"type": "string"
},
"type": "array"
},
"mediaId": {
"description": "Optional media ID for attaching media to the message",
"type": "string"
},
"recipientId": {
"description": "The ID of the user to send the message to",
"type": "string"
},
"text": {
"description": "The text content of the direct message",
"type": "string"
}
},
"required": [
"recipientId",
"text"
],
"type": "object"
}