Update a preview in place
update_previewUpdate files on an existing preview — same URL, and its 24-hour clock resets. Only the listed files change; pass deletePaths to remove files. Prefer this over publishing a new preview when iterating.
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": {
"previewId": "<previewId>"
},
"name": "update_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | ||
| previewId | Yes | Preview id from publish_preview or list_sites | |
| deletePaths | No |