create_site
Create a new website. With publish: true it goes online at once and you get the link back, which is what someone asking for a site expects. Its name becomes the public address and is fixed by the first publish, so use the name the owner gave you, say the address you got, and leave publish out if they have not settled on a name.
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": {
"name": "<name>"
},
"name": "create_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Optional code for the home page. Same rules as update_page. Left out, the site shows the starter page. | |
| name | Yes | What the site is called. It becomes the public address at publish time, so "Marie's Bakery" answers on maries-bakery.<domain>. Rename it before publishing if it is wrong. | |
| publish | No | Put it online immediately and return the link. Only for a site you are creating right now: it has nothing in it but what you just wrote. |