Command · Delete Render Files
render.deletePreviewFiles
Deletes preview files: of the sequence between "start" and "end" (In to Out with Sequence > Delete Render Files In to Out), of the whole sequence, or with "all" of every sequence in the project.
- v1
- Capability MediaAnalysis
- Tool
render_deletePreviewFiles
Request
{
"command": "render.deletePreviewFiles",
"params": {
"all": true
}
}Parameters
allboolean- Every sequence's preview files.
endinteger | string- Where to end. Default: the sequence's Out mark, else its end. Timecode in the sequence's rate ("00:01:02:03") or ticks.
sequenceinteger (1..)- Sequence id; only needed when the project has several.
startinteger | string- Where to start. Default: the sequence's In mark, else its start. Timecode in the sequence's rate ("00:01:02:03") or ticks.
Discussion
Deletes preview files: of the sequence between "start" and "end" (In to Out with Sequence > Delete Render Files In to Out), of the whole sequence, or with "all" of every sequence in the project. The edit itself is not affected; the segments show red or yellow again. Needs a host with a preview cache; a dry run lists what would be deleted.
Run it with wabcut-cli cmd <project> --json, from an MCP client as render_deletePreviewFiles, or from an extension. See Edit commands for requests, references and results.
See also
render.*
- render.previewInOut
Render In to Out. Renders preview files for the red and yellow segments between In and Out (or "start" / "end"; else the whole sequence), so they play in real time; segments with a valid preview are skipped.
- render.status
Render Bar. The render bar of a sequence (Premiere's red/yellow/green bar): segments between edit points, each "red" (must be rendered to play in real time: nested sequences, adjustment layers or effects heavier than real time), "yellow" (effects, transitions, blend modes or track mattes that may play in real time), "rendered" (a valid preview file exists) or "none" (plays as it is).