Create a chatbot for a website
create_chatbotCreate an AI chatbot trained on a website and return links to try it, embed it, and keep it.
The chatbot is a free demo: it crawls up to 5 pages of the site, answers 10 messages, and expires after 8 days unless somebody claims it. To claim it, open the returned claim_url, sign up or log in, and the chatbot moves into that account permanently. Someone already connected to their account can use claim_chatbot instead.
Training runs in the background and usually takes a minute or two. The links work immediately; answers improve once training finishes. Call get_chatbot with the returned token to check progress.
No account or API key is needed for this. If the person already has a ChatbotGen account, an API key (Settings → Account) makes this create the chatbot directly in their account instead, with no claim step.
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": {
"website_url": "<website_url>"
},
"name": "create_chatbot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the chatbot. Defaults to a name derived from the domain. | |
| language | No | Language the chatbot answers in. Defaults to "en". | |
| website_url | Yes | Public website address, such as example.com or https://example.com. Use the full domain, not a business name or search phrase. Must be reachable from the internet. | |
| instructions | No | Extra instructions for the chatbot — tone, what to promote, what to refuse. Appended to the system prompt. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| name | No | ||
| token | No | Demo mode only — the polling token. | |
| usage | No | ||
| limits | No | ||
| sources | Yes | ||
| website | No | ||
| chat_url | Yes | Shareable page to chat with the bot | |
| training | Yes | ||
| claim_url | No | Demo mode only — where a human signs up to keep the chatbot. 7 days. | |
| chatbot_id | Yes | ||
| expires_at | No | ||
| widget_url | No | Standalone widget page | |
| instructions | No | ||
| dashboard_url | No | Account mode only — manage it here. | |
| embed_snippet | Yes | Script tag for the customer's site | |
| whatsapp_test_available | No |