Send direct message
send_messageSend a message in a direct message conversation as this account; the recipient receives it on the platform. recipientId is the other party's id from get_conversation. Mastodon direct messages are read-only and return 409. Instagram comment and direct message permissions are still awaiting Meta's second review; Instagram accounts newly connected on or after 2026-11-27 temporarily cannot read or send them (a platform permission error is returned). The message goes through the anti-spam check; it cannot be sent while the workspace is suspended. (Required scope: cd.engagement.manage)
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": {
"accountId": "<accountId>",
"conversationId": "<conversationId>",
"recipientId": "<recipientId>",
"text": "<text>",
"confirm": "<confirm>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 1-1000 characters | |
| confirm | Yes | true = the user has approved this specific action. Without it the request is rejected with 409 AGENT_USER_CONFIRMATION_REQUIRED. | |
| accountId | Yes | ||
| recipientId | Yes | ||
| workspaceId | No | Optional: id of the workspace to operate on (look it up with list_workspaces); if omitted, the default personal workspace is used. A developer API key can only use the workspace it is bound to. | |
| conversationId | Yes |