Connect a live agent
alchemist_connectPut a live Olbrain agent on the user's website, or call it from their code: no build, no credits. Without agent_id, lists the organisation's live chat agents and jobs. With agent_id, returns its go-live steps (API key, curl, SDK code, a job's webhook call, and a chat agent's website chat snippet once it is on). origins, the site addresses the user gave (https://shop.example, or http://localhost:3000 to try it first), switches a chat agent's website chat on for them; sites are only ever added.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "alchemist_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origins | No | Site addresses to switch a chat agent's website chat on for, like https://shop.example or http://localhost:3000. Sites are only added, not removed. | |
| agent_id | No | Id of a live agent. Leave it out to list the organisation's live chat agents and jobs. |