widgets_create
ActiveTool of io.github.saloprj/dialogbrain
declared in 1.17.0
Create a new livechat widget for your website. The widget will be created with default settings. You can customize theme, auto-reply mode, and more. Use this when user wants to add a chat widget to their site.
Parameters schema
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Name for the widget (e.g., 'Website Chat', 'Support Widget')"
},
"position": {
"enum": [
"bottom-right",
"bottom-left"
],
"type": "string",
"default": "bottom-right",
"description": "Widget position on screen"
},
"display_mode": {
"enum": [
"chat",
"voice_only",
"headless"
],
"type": "string",
"default": "chat",
"description": "Visual mode of the widget. Pick exactly one:\n- 'chat' (default): full chat panel + voice mic — use for support / sales / general.\n- 'voice_only': mic-only bubble that launches a voice call directly — pick only when the user explicitly asks for a voice-only widget (e.g. 'just a voice button', 'no chat, just call').\n- 'headless': no UI; customer drives via window.DialogBrain JS API — pick only when the user explicitly says 'embed in our own design' / 'no widget chrome'."
},
"header_title": {
"type": "string",
"default": "Chat with us",
"description": "Title shown in chat header"
},
"primary_color": {
"type": "string",
"default": "#2563eb",
"description": "Primary color for widget theme (hex, e.g., '#2563eb')"
},
"auto_reply_mode": {
"enum": [
"draft",
"auto"
],
"type": "string",
"default": "draft",
"description": "Auto-reply mode: 'draft' (review before sending) or 'auto' (send immediately)"
},
"voice_button_label": {
"type": "string",
"description": "Localized aria-label and hover tooltip for the voice-only mic bubble (only used when display_mode='voice_only'). ≤ 100 chars. Defaults to 'Talk to agent' if omitted."
}
}
}Parent server
io.github.saloprj/dialogbrain
https://github.com/saloprj/dialogbrain-mcp
1/7 registries