publish_site
Publish an entire storefront site live by snapshotting all saved pages into the published version; use dry_run=true to preview validation and dry_run=false to publish.
Instructions
Publish the whole site live — snapshots all current page sources into the live (published) version. Note: BuilderX publishes at the SITE level, not per page; publishing makes every saved page go live. Two-step safety: dry_run=true (default) runs the preflight and describes what will happen; dry_run=false publishes. Preflight: every saved page through validate_page, site CSS/JS against the ceiling, breakpoints. Any error BLOCKS the publish (fix it first); warnings are listed. After publishing, the live homepage is fetched and checked; success is false when it is still broken (e.g. bps = []).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "publish_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview (true) or publish for real (false) |