Send message
send_messageSend messages to an external AI bot via webhook and reuse threadId to continue conversations; poll or wait for replies when the HTTP response has no answer.
Instructions
Send a message to a configured bot webhook. If the HTTP response contains a reply, it is returned here. Otherwise keep the threadId and call get_replies or wait_for_reply. Reuse threadId to continue the same conversation.
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": {
"message": "<message>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | Bot id from list_bots. Omit to use the default bot. | |
| context | No | Extra context that is not the main message. | |
| message | Yes | Message for the bot. | |
| threadId | No | Existing conversation id. Omit to start a new thread. |