Add a website
create_siteAdds a website to the account and returns it with its install.script_tag. Fails with plan_limit when the plan has no free site left. To install the live chat, paste the returned script tag once before in the site's shared layout.
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": {
"url": "<url>"
},
"name": "create_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The site's address, e.g. https://example.com (also used as the first allowed domain and, without name, as the name). | |
| name | No | A display name for the site. | |
| color | No | The bubble's color, #RRGGBB. | |
| theme | No | Style of the bubble: neo (thick borders and offset shadows, the default), doux (soft, rounded, no borders), minimal (flat, thin lines) or nuit (dark). The site color applies to each. | |
| domains | No | More addresses where the bubble may load (e.g. example.lovable.app, localhost). | |
| position | No | Side of the screen for the bubble. | |
| greeting_enabled | No | Show a short welcome message above the bubble, in the visitor's language. |