Send Chat Message
repliz_send_messageSend various message types in Repliz conversations, including text, images, videos, audio, documents, and interactive buttons.
Instructions
Send a message in a conversation. Set type and provide the matching field:
text: provide
textimage: provide
image{ url, mimetype, thumbnail? }video: provide
video{ url, duration, mimetype, thumbnail? }audio: provide
audio{ url, duration, mimetype }document: provide
document{ url, name, size, mimetype }button: provide
button{ text, buttons:{ title, url }, image? }
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": {
"chatId": "<chatId>",
"type": "<type>"
},
"name": "repliz_send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text content (for type 'text'). | |
| type | Yes | The message type. | |
| audio | No | ||
| image | No | ||
| video | No | ||
| button | No | An interactive button message. | |
| chatId | Yes | The chat id to send to. | |
| document | No |