Send user message
send-user-messageSend an outbound message to an end user via POST /v1/send-message-to-user or the converse JSON format. Use to as fbId or phone.
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": {
"to": "<to>",
"message": "<message>"
},
"name": "send-user-message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient fbId or phone number | |
| tag | No | Optional message tag for Facebook policy tags | |
| type | No | Channel when sending WhatsApp or SMS | |
| format | No | plain uses send-message-to-user, json uses converse JSON | |
| message | Yes | Message text, structured message object, or array of message parts | |
| user_id | No | Numeric messenger user id when targeting by database id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | JSON or plain text body returned by the Botsify HTTP API |