get_website_embed_code
Generates a ready-to-paste HTML embed snippet for a Convocore agent, including popup, inline, modal, or voice widget code with the agent ID and region prefilled for website deployment.
Instructions
MUST CALL whenever the user asks to deploy/embed/add their agent to a website, get the widget script, iframe code, popup chat bubble, or 'where is the code'. Returns a ready-to-paste HTML snippet with the real agent ID and region filled in (popup, full-width inline, modal, or React voice-only example). Do NOT redirect the user to the dashboard Channels/Deployment tab instead of returning this code. If agentId is unknown, call list_agents first, then call this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | popup-bottom-right (default bubble), popup-bottom-left, full-width (sized div), modal (center overlay), voice-react (Next.js @tixae-labs/web-sdk). | |
| agentId | Yes | The Convocore agent ID to embed. | |
| containerWidth | No | full-width only, e.g. "500px". | |
| containerHeight | No | full-width only, e.g. "500px". |