undo
Revert recent project mutations—cuts, cues, framing, music bed, caption styles, imports—by rolling back one or more steps. Preview first with plan, because there is no redo.
Instructions
Roll the project back steps mutations (default one) — the timeline, the manifest, or both.
Mutating tools snapshot first (migrate_project keeps its own backup
instead), so this undoes cuts, cues, framing, the music bed, caption style
and the rest alike. The reply says what came back: timeline_restored,
manifest_restored, and timeline_removed when undoing a seed_timeline
leaves no timeline at all. Undoing an import un-registers the clip but
leaves its media on disk; transcripts are not snapshotted and stay. There
is no redo, so an out-of-range steps is refused before anything is
restored, and plan shows what it would undo — changes' answer for the
same steps — first. status gives undo_depth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | The project directory to act on. Omit it — the usual case — when this server is bound to a project (started as `proofcut -C DIR mcp`, or inside a project; `ping` says which): it then resolves to that one bound project, a relative path resolves against it, and a path outside it is refused by name. Unbound, `path` is the whole address and omitting it refuses rather than guessing. | |
| plan | No | Roll nothing back; return `changes`' account of what `steps` would undo. There is no redo, so read it before a `steps` above 1. | |
| steps | No | How many mutations to roll back, from 1 (the last one) up to the undo depth; the same count `changes` takes. All or nothing: a number past the depth is refused, not walked as far as it goes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||