send_message
Send messages from bots to users in conversations using text, images, buttons, or card carousels on the Solafon platform.
Instructions
Send a message from the bot to a user in a specific conversation. Supports text, buttons, images, and card carousels.
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>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conversationId | Yes | The conversation ID to send the message to | |
| type | No | Message content type | text |
| text | No | Text content of the message (required for type=text) | |
| imageUrl | No | Image URL (for type=image) | |
| buttons | No | Interactive buttons attached to the message | |
| cards | No | Cards for carousel messages |