Update a chatbot
update_chatbotUpdate a chatbot
Changes one or more fields on a chatbot. Every field is optional, but the body must contain at least one recognised field: an empty object is rejected with 400. enableVoice switches the widget microphone, voiceId changes the voice and an empty voiceId returns to the engine default; the chosen voice is kept while the microphone is off. The older textOnlyMode is still read as the inverse of enableVoice. The change is pushed to the voice engine first and then stored; if the engine rejects the push the request still succeeds and the new values are stored, so verify the chatbot afterwards when live behaviour matters. The response is a confirmation message only, not the updated chatbot.
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": {
"chatbotId": "<chatbotId>",
"body": "<body>"
},
"name": "update_chatbot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The fields to change. At least one must be present. | |
| chatbotId | Yes | Numeric identifier of the chatbot. |