Send a direct message
send_a_direct_messageReply to an existing direct-message conversation as the connected account using conversation, account, and recipient IDs. Confirm text before sending; delivery is immediate and cannot be unsent.
Instructions
Reply in an existing direct-message conversation as the connected account. Pass conversationId, accountId and recipientId (the conversation's participant id). Platforms only accept replies within their messaging window (on Instagram and Facebook, 24 hours after the person's last message), and Instagram group threads can't be replied to. The message is delivered immediately and can't be unsent: confirm the exact text with the user first.
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": {
"conversationId": "<conversationId>",
"message": "<message>",
"recipientId": "<recipientId>",
"accountId": "<accountId>"
},
"name": "send_a_direct_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| accountId | Yes | ||
| recipientId | Yes | ||
| conversationId | Yes |