Publish the draft
publish_sitePublishes the current draft so anyone can see it at the site's web address. expected_draft_version, from get_site, stops a change made elsewhere from being published by mistake.
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": {
"site_id": "<site_id>"
},
"name": "publish_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site id from list_sites or create_site. | |
| expected_draft_version | No |