update_preview
Deploy a new version to an existing preview slug to iterate on a prototype while preserving its version history.
Instructions
Deploy a new version to an existing preview slug. Automatically iterates on the existing prototype while preserving version history.
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": {
"slug": "<slug>",
"files": "<files>"
},
"name": "update_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The existing preview slug to update | |
| files | Yes | Array of files to add or replace. | |
| changelog | No | Brief description of changes |