kopern_connect_widget
Generate embed code for a chat widget to add to your website, allowing visitors to interact with your AI agent.
Instructions
Enable the embeddable chat widget for an agent. Returns the embed code for your website.
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": {
"agent_id": "<agent_id>"
},
"name": "kopern_connect_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The agent ID or name | |
| position | No | Widget position. Default: bottom-right | |
| allowed_origins | No | Allowed website domains (CORS). Empty = all origins. | |
| welcome_message | No | Greeting message shown in widget |