Open environment preview
preview_openOpen or create a private live preview for the specified project and environment. Available on Free and Paid. Source saves update the preview without a deployment. Returns its private link, state, expires_at, failure, data and ready_to_show. The link lasts at most 24 hours, and opening a preview after expiry creates a new link. The preview sleeps after ten idle minutes and wakes when the link is opened. Database readiness is reported independently of ready_to_show. Preview does not persist application data.
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": {
"project_id": "<project_id>",
"environment": "<environment>"
},
"name": "preview_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| environment | Yes |