Change the bot's setup or look
update_botChange a bot's name, owner email, business type, goals, tone, language, quick facts, extra instructions, welcome message, quick-reply buttons or color. Send only what changes: everything you leave out stays as it is. Lists you send (goals, quick-reply buttons) and the quick facts replace their previous values. Returns the bot with its full setup.
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>"
},
"name": "update_bot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| tone | No | ||
| color | No | Brand color as #RRGGBB. | |
| extra | No | Anything else the owner wants the bot to know or do, in plain words. | |
| facts | No | Facts the bot must always get exactly right. | |
| goals | No | What the bot should do: answer questions, collect leads (phone/email, emailed to the owner), booking (sends visitors to the booking link), recommend products, support existing customers. | |
| bot_id | Yes | The bot id, like b_AbC123xyz789 (from create_bot or list_my_bots). | |
| 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. | |
| language | No | auto = reply in the visitor's language. Use a fixed language only if the owner asks. | |
| owner_email | No | The owner's email (unlocks the free plan and their dashboard). Requires accept_terms. | |
| accept_terms | No | Set true only after the owner has agreed to the BotsAI Terms of Use (https://botsai.app/terms.html) and Privacy Policy (https://botsai.app/privacy.html). Required with owner_email. | |
| business_type | No | Closest kind of business: clinic (clinic, salon, wellness), shop (online shop), restaurant, realestate, courses (courses, coaching), services (local services, trades), tech (SaaS), other. | |
| quick_replies | No | Up to 4 short button labels shown under the welcome message, e.g. "Prices", "Opening hours". | |
| welcome_message | No | First message visitors see. |