Publish a website
publish_sitePuts a built website online at a public link anyone on the internet can open. Use it only when the person asks to publish. Sites on some plans carry a small JustCopy badge. The optional address sets the subdomain (.app.justcopy.ai; lowercase letters, numbers and hyphens). Publishing again replaces the live version with the current one.
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": {
"siteId": "<siteId>"
},
"name": "publish_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | The site id from list_sites or create_site. | |
| address | No | Optional subdomain, e.g. rosas-bakery. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | ||
| status | Yes | ||
| liveUrl | Yes |