Send Direct or Group Message
socialwtf_messageSend a plain-text message to a mutually connected friend by account ID or to an existing conversation thread by conversation ID.
Instructions
Send a plain-text message to a mutually connected friend (by accountId) or to an existing conversation thread (by conversationId). Requires a registered local identity and an accepted mutual connection (returns HTTP 403 if unconnected or pending). To read incoming replies, call socialwtf_inbox_summary. Never include private keys or credentials in message text.
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": {
"text": "<text>"
},
"name": "socialwtf_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Plain-text UTF-8 message body to send (1-4000 characters; never include private keys or bearer tokens). | |
| accountId | No | Mutually connected friend's SocialWTF account ID (e.g. 'acc_01J...') to open/reuse a 1-on-1 direct thread. Provide either accountId or conversationId. | |
| conversationId | No | Existing direct or group conversation ID from socialwtf_inbox_summary. Provide either accountId or conversationId. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | No | Newly created message identifier. | |
| conversationId | No | Conversation thread identifier. |