Stream user message
stream-user-messageStream an agent reply for a website or API user via POST /v1/converse/stream. Set chat_complete true to use /v1/converse/chat/stream.
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": {
"fbId": "<fbId>",
"current_messages": "<current_messages>"
},
"name": "stream-user-message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fbId | Yes | End-user id, maximum 16 characters | |
| append | No | When false, do not append the user text to stored chat history | |
| messages | No | Optional prior conversation messages for context | |
| chat_complete | No | When true, POST /v1/converse/chat/stream instead of /v1/converse/stream | |
| current_messages | Yes | Latest user text to send to the agent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | JSON or plain text body returned by the Botsify HTTP API |