Publish site
site_publishPublish a site's code tree, now or as of an earlier change, at the site's address, replacing what is live there. Requires an admin of its home wiki or an organization owner. The result gives the url and the change that is live, and previous names what it replaced.
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": {
"id": "<id>",
"org": "<org>"
},
"name": "site_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The site's short name (its name lowercased, other characters made hyphens, e.g. deal-flow), or its client id. | |
| org | Yes | slug of the organization whose trees and sites to use. Required on every call, even when only one organization is listed; a path never names it. | |
| changeId | No | Publish the tree as of this change, e.g. to roll back. |