Try the bot
chat_with_botSend a test message to the bot and get its reply, as a customer would. Pass conversation_id from the previous reply 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": {
"bot_id": "<bot_id>",
"message": "<message>"
},
"name": "chat_with_bot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot_id | Yes | The bot id, like b_AbC123xyz789 (from create_bot or list_my_bots). | |
| message | Yes | ||
| edit_key | No | The bot's edit key, like bsk_… (from create_bot). Not needed when the user is signed in and the bot is in their account. Keep it private. | |
| conversation_id | No |