Preview the draft
preview_siteShow the current draft so the user can look at changes (phone and desktop) before publishing. In apps that support it, a preview panel opens right in the chat with a Publish button; otherwise give the user the preview_url. The live site is not affected. Form entries made in the preview are saved as tests (no emails or alerts; query_records leaves them out unless tests: "include"). Payments and Komers checkout are off in previews.
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": "<site>"
},
"name": "preview_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Page to open, e.g. "/" or "/services" | / |
| site | Yes | Site slug (e.g. "kopitiam-muar") or id | |
| hours | No | How long the link works |