Publish a demo
publish_demoPublishes the current draft: viewers of the hosted link, embeds and collections see it right away (a new version, vN, kept in revision history). Fails with the reason when something needs fixing first (no steps, a broken link) or the plan’s published-demo limit is reached. Returns the hosted URL and embed code, and uncheckedLivePages: live pages viewers can scroll further than their screenshot that nobody has scrolled through in the editor yet (tell the user; they open them from editUrl).
Requires: demos:read, demos:publish.
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": {
"demoId": "<demoId>"
},
"name": "publish_demo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| demoId | Yes | Demo id (from list_demos), e.g. "d_Ab12Cd34Ef56Gh78". |