Create site
create_siteCreate a site in a Replo project together with its git repository, forked from a published starter template ('blank' unless template is given). Pass projectId from list_projects and a name for the site. A subdomain is optional and must be globally unique; without one the site gets an opaque id-based subdomain. Returns the site with clone_url; clone it over Git with a repo key from create_api_key. Creation usually takes seconds; if it takes longer, the result is { id, status: 'creating' } instead: the site is still being created, so call list_sites shortly to get it rather than creating it again. Creating a site does not publish it. Before creating or editing a site or page, call skills with name "building-sites".
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": {
"projectId": "<projectId>"
},
"name": "create_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Dashboard display name for the new site. Defaults to 'Website'. | |
| template | No | Published starter template to fork the site's repository from, e.g. 'notion'. Defaults to 'blank'. | |
| projectId | Yes | ||
| subdomain | No | Optional subdomain for the new site (e.g. 'my-store-blog'). Defaults to an opaque id-based subdomain when omitted. Must be globally unique. |