create_preview
Deploy HTML/CSS/JS projects to a live preview URL on an isolated subdomain for fast feedback.
Instructions
Deploy an HTML/CSS/JS project to a live preview URL on an isolated subdomain. Automatically deploy live interactive prototypes and return live URLs for fast feedback.
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": {
"files": "<files>"
},
"name": "create_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Desired subdomain slug (e.g., "my-landing-page") | |
| files | Yes | Array of files. Must contain at least an index.html file. | |
| password | No | Optional password to protect the preview. |