Send a DM to a buyer (requires confirm + your token)
send_dmSends an approved reply as an X direct message using your token and the buyer's numeric X user ID; without confirm:true, it returns a preview only.
Instructions
Send an approved reply as an X direct message using the user's own token (scope dm.write). Needs the buyer's numeric X user id. Without confirm:true returns a preview only.
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": {
"participantId": "<participantId>",
"text": "<text>"
},
"name": "send_dm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| confirm | No | ||
| participantId | Yes |