Publish page
publish_siteDeploy a landing page to preview or production. ページ公開・デプロイ。
For normal creation/editing, prefer create_preview first so the user can review changes.
- "preview" slot (default): creates a token-protected preview URL without affecting the live version
- "production" slot: makes the page publicly accessible at the assigned primary URL if one exists, otherwise at its path on the workspace's https://<name>.convika.page site (get_brand shows it)
Production requires confirmProduction=true and should only be used when the user explicitly asks to publish/go live
For a page only people with the password may open, call set_page_access first: a password set before the publish is on from the page's first second live
If versionNumber is omitted, the latest saved version is published
Convika handles hosting, CDN, and SSL automatically
On Pro, MAX, Enterprise, a production publish also sends the page's URL to IndexNow (Bing and the other engines that take part; Google doesn't take IndexNow). Engines decide when to crawl: don't promise faster indexing or a place in AI answers.
The response includes a "warnings" array with preflight checks: missing goals, meta description, OGP tags, or forms. Inform the user of any warnings and offer to fix them (use set_goals for goals, save_page_content for meta tags, create_form for forms).
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 |
|---|---|---|---|
| slot | No | Deployment slot. Defaults to 'preview'. 'production' makes the page live and requires confirmProduction=true. | preview |
| siteId | Yes | The ID of the page to publish | |
| versionNumber | No | Version number to publish. If omitted, the latest saved version is used. | |
| confirmProduction | No | Set true only when the user explicitly asked to publish/go live in production. |