Create a site
create_siteCreates a new site at .sofast.website and publishes its first version, within the account's plan. With upload_id, publishes those uploaded files. With upload set to link, returns a one-time upload command instead. If the first version is refused, the site is not kept.
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": {
"title": "<title>",
"subdomain": "<subdomain>"
},
"name": "create_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The site's name, shown in the Sofast dashboard. | |
| upload | No | link: return an upload command rather than publishing an upload_id. | |
| subdomain | Yes | Lowercase letters, digits and hyphens, 3 to 63 characters. | |
| upload_id | No | The upload_id returned by upload_files, whose files become the site's content. |