Set preview url
set_preview_urlStores the deployed app origin as the workspace preview URL so the Cmssy editor frames the correct address; use the exact deployed origin to avoid preview response errors.
Instructions
Point the cmssy editor at the deployed app: stores the origin of url as the workspace preview URL, the address the editor frames. Use the exact deployed origin (https://my-site.vercel.app) - a wrong host, such as an added www., leaves the editor reporting that the preview did not respond.
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": {
"url": "<url>"
},
"name": "set_preview_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The deployed app's URL, e.g. https://my-site.vercel.app. Only its origin is stored. |