get-embed-code
Fetches the HTML embed code for an agent's chat widget using its agent ID, enabling you to add the agent to any website.
Instructions
Get the HTML embed code for the chat widget. Use this code to add the agent to any 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": {
"agentId": "<agentId>"
},
"name": "get-embed-code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | The agent ID |