proofcut

v0.45.0
io.github.tydude001/proofcut Checked 4 days ago Published 2 months ago

Local-first AI video editor: recordings to a finished film, cut by transcript, then verified

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ping

Check that the proofcut MCP server is alive, and report its version. `project` is the project every tool addresses when `path` is omitted, and `bound_by` says how it was chosen: `-C` at startup, or `cwd` because the server was started inside a project. Both are null when it is unbound.

doctor

Probe every external binary proofcut depends on, and name each one's trap. Takes no project — it answers the question asked before there is one. Report-only: nothing is installed and nothing is written. `ok` reads the required section alone; the four optional entries each gate one feature (cards, `describe`, `reframe_detect`, `vo_synth`) and everything else works without them. Every failing entry carries the fix, not just the ✗ — where melt actually lives, why PyPI's auto-editor is the wrong program, what to set on a box with no display. `server` says which project this server is boun…

init

Create a proofcut project directory at `path`. Writes `proofcut.json` and the empty `assets/`, `cache/`, `media/` and `renders/` directories, and nothing else — no media, no timeline. Refuses a directory that already holds a project rather than resetting it, so it is safe to call when unsure. Next is `import_media`, then a transcript, then `seed_timeline`.

ParameterTypeDescription
namestring | nullA name for the project, recorded in the manifest. Unset, the directory's own name is used.
pathstring | nullThe 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 t…

migrate_project

Bring an older project manifest forward to the current schema version. Every other tool refuses a project written by an older proofcut rather than guessing at a layout it does not recognise; this is what clears that. It is forward-only, and it copies the manifest into `cache/history/` before writing. `plan=True` reports the version and the steps without writing, which is how to ask what a project is before deciding to change it. A project whose manifest is still `lucid.json` (written before the rename) is renamed to `proofcut.json` first, reported as the first step.

ParameterTypeDescription
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

import_media

Register a media file with the project, probing it with ffprobe. Links the media by default rather than copying it. Returns the clip record, including the `clip_id` every other tool takes, and `audio_streams` — how many the container holds, since every other audio field on the record describes only the first. A container with more than one audio stream is refused rather than registered as if the first were the recording: whisper picks a stream of its own and MLT picks again at render, so the others would be missing from the film with every check clean. `mix=True` sums them into one track (…

ParameterTypeDescription
source *stringThe media file to register. A file argument rather than a project selector, so it is deliberately left unconfined — footage usually lives outside the project.
audio_streaminteger | nullKeep one of a container's audio streams and drop the rest, numbered from 0 in ffmpeg's own audio ordering — not the container's absolute stream index, which is a different number once there is video…
clip_idstring | nullThe id every later tool addresses this clip by. Unset, one is derived from the filename. Keep it short: it becomes part of cache paths, and a stock Windows measures those against 248 characters.
copybooleanCopy the media into the project instead of referencing it where it sits. Off by default — a reference costs no disk, and it is also the fallback where symlinks are rejected.
mixbooleanSum a container's audio streams into one track, for two mics on one performance. It writes a derived copy every later op reads without knowing it.
pathstring | nullThe 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 t…
sheetbooleanDraw a contact sheet of the clip's first ten seconds onto the returned record. On by default, because a first look that has to be asked for is one nobody takes.

list_media

List media files under `source_dir` that `import_media` could register. What hands an unattended agent source paths on a real job, since an agent confined to proofcut's tools (the agent panel's `--tools ToolSearch`) has no directory listing of its own (HISTORY.md § The seventh queue item, decided and built). A filename filter, not a probe — `import_media` is still what decides a file is actually usable. Each entry's `already_imported` is checked against this project's own registered clips, so a repeated call does not keep re-suggesting footage already on the asset list. `source_dir` names…

ParameterTypeDescription
source_dir *stringThe directory to list. It names where footage lives rather than which project, so it is deliberately not confined to the bound project.
pathstring | nullThe 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 t…
recursivebooleanWalk subdirectories too. On by default.

clip_role

Read or set a clip's import role — voiceover vs footage. Called with no `role` and no `reset` it just reports what is stored; `role` must be `"voiceover"` or `"footage"` (`ops.CLIP_ROLES`); `reset` clears it back to undeclared. **This changes nothing about how `transcribe`/`attach_transcript` or `describe` treat the clip.** Both already gate on their own evidence — a transcript file, `has_video` — and neither reads this field, so an undeclared clip is exactly as eligible for both as it always was. It is the assets pane's grouping, purely, and setting one is not a schema bump for that r…

ParameterTypeDescription
clip_id *stringThe clip to read or set.
pathstring | nullThe 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 t…
resetbooleanClear the role back to undeclared.
rolestring | null`voiceover` or `footage`. Omit it and `reset` to read what is stored. It is the assets pane's grouping and nothing else: neither transcribe/describe nor any render path reads it.

clip_rm

Un-register a clip `import_media` added, when nothing depends on it yet. Refused, naming every reason, if the clip is on the timeline, cued, held, the music bed's own clip, marked unspoken, transcribed or described — clear those first (`cue_rm`/`hold_rm`/`unspoken_rm`/`music reset=True`, or `proofcut undo`) or use `undo` back to before the import instead. The media on disk is never touched either way.

ParameterTypeDescription
clip_id *stringThe clip to un-register. Its media on disk is never touched.
pathstring | nullThe 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 t…

attach_transcript

Ingest an existing word-timed whisper JSON as this clip's transcript. Checks the transcript against itself for `near_duplicates` — adjacent runs of words that sound like the same line said twice. That is a retake `verify` can never catch once both takes are cut into the edit, since nothing then disagrees with the timeline. A hit is not a verdict: a deliberate callback line looks the same as a swallowed retake here. Also reports `suspect_durations`, `overlaps` and `repeats`. An `overlaps` seam is a retake splice whisper read straight across, interleaving both takes and inventing words nobod…

ParameterTypeDescription
clip_id *stringThe clip this transcript belongs to. Its words become `(clip_id, word_index)`, which is how every cue, mark and caption addresses them afterwards.
transcript_path *stringThe whisper JSON to ingest. It has to carry word-level timings — proofcut addresses words, not segments.
pathstring | nullThe 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 t…

transcribe

Transcribe a clip's own media with whisper, and attach the result. attach_transcript's ASR-driven sibling: use that when the recording already has a transcript, this when it needs one made. Takes minutes on a long recording — there is no timeout, so let it run. Reports `near_duplicates`, `suspect_durations`, `overlaps` and `repeats` the same way attach_transcript does. **It replaces whatever transcript the clip already had**, and it is the one mutation `undo` cannot reach: a transcript is its own file, so this writes neither the manifest nor the timeline and nothing is snapshotted. There i…

ParameterTypeDescription
clip_id *stringThe clip whose own media whisper transcribes.
languagestring | nullForce a language code, e.g. `en`. Unset, whisper detects it, which it gets wrong on short or noisy clips.
modelstringThe whisper model to run, e.g. `small.en`. Larger is slower, and there is no timeout.
pathstring | nullThe 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 t…

hear

What does `clip_id`'s source audio actually say between `start` and `end`? Use this when the transcript and the audio might disagree — a word with a suspect duration, a hole with no words in it, a stretch that reads clean but sounds wrong. It runs the same short-overlapping-window pass `verify(windowed=True)` runs, over the clip's own media across the span (source seconds), and comes back with `heard_words`/`heard_text` beside the attached transcript's own words over that span (`transcript_words`). No need to seed, export and verify to hear your source material. **Reports, never attaches**…

ParameterTypeDescription
clip_id *stringThe clip whose source audio to listen to.
end *numberWhere to stop, in the same source seconds. Past the end of the clip it is refused rather than clamped.
start *numberWhere to start listening, in that clip's own **source** seconds — never timeline seconds and never a word index.
languagestring | nullForce a language code, e.g. `en`. Unset, whisper detects it.
modelstringThe whisper model for this windowed pass.
overlapnumberHow far each window overlaps the one before it, in seconds. The overlap is what stops a word straddling a boundary from being lost between two windows.
pathstring | nullThe 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 t…
windownumberLength of each window, in seconds.

get_transcript

Read a clip's transcript. With `search`, returns each match as a word range ready to hand to cut_by_transcript — prefer this to reading the whole transcript. With `first`/`last`, returns that window of words. Indices are inclusive. At most `limit` words come back per call. `total_words` is the whole transcript, `last_word` where this reply stopped, and `next_first` — only present when words were left out — is the `first` to ask for next.

ParameterTypeDescription
clip_id *stringThe clip to read.
firstinteger | nullFirst word index to return, inclusive.
lastinteger | nullLast word index to return, inclusive.
limitintegerMost words to return in one call, counted from `first`. The reply's `next_first` says where to continue. Bounded by default because a whole transcript can be past what a client will put in context.
pathstring | nullThe 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 t…
searchstring | nullReturn each match as a word range ready to hand to `cut_by_transcript`, instead of the whole transcript. Prefer it: a transcript is a lot of words to read to find two.

resolve_phrase

Resolve a phrase to a word range against `clip_id`'s transcript. What `phrase=` on cue_add/cue_rm/unspoken_add/unspoken_rm/vo_extend/music/ locate calls internally, exposed on its own so a resolution — including its full ambiguity list — can be inspected without attempting a write. Companion to `get_transcript` with `search=`, which lists every match with no cursor/occurrence/fuzzy; this picks exactly one, or explains why it can't. `after` skips matches at or before that word index (forward cursor, -1 means from the start). More than one exact match with no `occurrence` given fails with…

ParameterTypeDescription
clip_id *stringThe transcript to resolve against.
phrase *stringThe words to find, as they were spoken.
afterintegerA forward cursor over a phrase's matches: any match at or before this word index is skipped. -1, the default, means from the start.
fuzzybooleanFall back to a fuzzy match when nothing matches exactly. A fuzzy hit sets `ratio` and is never reported as an exact one; `false` refuses instead.
occurrenceinteger | nullDisambiguate a phrase by count when it matches more than once, **1-based** in transcript order among the matches after `after`: 1 is the first, 2 the second. Unset, an ambiguous phrase is refused —…
pathstring | nullThe 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 t…

transcript_checks

Re-check an already-attached transcript against itself. Returns the same four findings attach_transcript does — `near_duplicates`, `suspect_durations`, `overlaps`, `repeats` — for a transcript attached earlier, whose findings were reported once and are otherwise gone. Omit `clip_id` for every clip that has a transcript. Read `overlaps` before anything derived from this transcript is drawn on screen. A seam there is whisper reading across a retake splice and interleaving both takes, which **invents words nobody said** — and they read as ordinary English, so a human proofread finds some…

ParameterTypeDescription
clip_idstring | nullOne clip to re-check. Omit it for every clip that has a transcript.
pathstring | nullThe 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 t…

attribute_speakers

Label each word with the mic that was loudest while it was spoken. For a co-hosted recording captured on one mic per speaker. It is one pass over the transcript that is already attached — **never a second ASR run**, and transcribing each mic separately is measured and dead: half of each mic's own transcript is the other person, at every isolation tried. Transcribe once, from the mix or either mic, then call this. `streams` are ffmpeg audio ordinals into the registered container (`0`, `1`), and `labels` names them in the same order — one label per stream, defaulting to `speaker1`, `speake…

ParameterTypeDescription
clip_id *stringThe co-hosted clip: one container, one mic per speaker, one transcript already attached.
applybooleanWrite the labels onto the words. Off by default — it reports first, and applying keeps any label already on a word this refuses to call.
labelsarray | nullWhat to call each stream, in the same order — one per stream. Unset, `speaker1`, `speaker2`.
limitintegerHow many ambiguous spans to return; the reply also says how many there are in total.
margin_dbnumberHow much louder one mic has to be to be believed, in dB. It reports a default and is not a threshold to trust: on words spoken over each other the rule is at chance, and anything under this margin com…
pathstring | nullThe 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 t…
streamsarray | nullWhich audio streams the speakers are on, as ffmpeg audio ordinals (`[0, 1]`). Unset, the container's readable audio streams in order.

describe

Describe footage in fixed windows, so b-roll can be found by what is in it. A description is `(clip_id, src_start, src_end, text)` in **source** seconds, which is why cutting the edit can never invalidate one. Omit `clip_id` to describe every video clip that has not been described yet; name one to do just that clip. Audio-only clips are refused — their words are what `transcribe` indexes. **This is a job, not a request.** Cost is about three seconds per window regardless of how much footage the window spans, so a project's footage is minutes of GPU time. Run it with `plan=True` first: that…

ParameterTypeDescription
clip_idstring | nullOne clip to describe. Omit it for every video clip not described yet; audio-only clips are refused, since their words are what `transcribe` indexes.
forcebooleanDescribe clips that already have descriptions, replacing them. Without it they are skipped.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
windownumberSeconds of footage per description. Do not widen it to save time: a single pass over a whole clip describes six frames as six people, fluently, with nothing saying it is wrong.

describe_ls

Read the footage descriptions, to find b-roll by what is in it. **This is the search.** There is no ranking and no similarity score to ask for — you read the descriptions and pick, which is why the prompt behind them asks for concrete nouns. Each entry is `(clip_id, src_start, src_end, text)` in **source** seconds, so what you pick stays valid however the edit is cut. `contains` filters: whitespace-separated terms, case-insensitive, and every term must appear — `"kitchen knife"` matches "a knife on the kitchen counter". Reach for it before reading everything on a large project; `words` s…

ParameterTypeDescription
clip_idstring | nullList only this clip's windows.
containsstring | nullKeep only windows whose text holds every whitespace-separated term, case-insensitively — so `"kitchen knife"` matches "a knife on the kitchen counter".
pathstring | nullThe 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 t…

card_templates

The card templates proofcut ships, and the slots each one takes. Read this before card_new: each slot says what it is for, whether it is required, and what it defaults to. The palette and font stacks are slots too, so a card can be restyled without authoring an SVG by hand. Call it with no `name` to choose one, then with `name` to read only that template's slots — the whole table is long.

ParameterTypeDescription
namestring | nullOne template to return in full. The others come back as name and description only. Unset, every template in full.

caption_style_save

Save this project's caption look to this machine's library, so any project can load it. The preset and every override on it are saved, grouping rules included.

ParameterTypeDescription
name *stringWhat to call the look in this machine's library: lowercase letters, digits, - and _.
pathstring | nullThe 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 t…
replacebooleanReplace a saved look of this name. Unset, a taken name is refused.

caption_style_library

Every caption look saved to this machine's library, each with what it resolves to.

caption_style_load

Make a saved caption look this project's, replacing the one it has. Undo reverts it.

ParameterTypeDescription
name *stringThe saved look to use (caption_style_library lists them).
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

image_add

Add a still image to the project: a photo, a logo, a cut-out sticker. It lands upright (a phone photo's EXIF rotation applied) in a format the render and the window both read. Then show it full frame with cue_add(asset="image:<name>"), or place it over the film as a sticker with overlay_add(image=name, x=, y=, width=, rotate=, style="photo").

ParameterTypeDescription
source *stringThe image file: PNG, JPEG, WebP, HEIC, GIF (its first frame), AVIF, TIFF or BMP. list_media lists the ones in a folder under `images`.
namestring | nullWhat to call it; `image:<name>` is how a cue names it. Unset, from the filename.
pathstring | nullThe 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 t…
replacebooleanReplace an image of this name. Unset, a taken name is refused.

image_ls

Every still in the project, where it came from, its size, and the cues and overlays placing it.

ParameterTypeDescription
pathstring | nullThe 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 t…

image_rm

Remove a still nothing places. A cue or overlay using it is named instead.

ParameterTypeDescription
name *stringThe image to remove. Refused while a cue or overlay places it.
pathstring | nullThe 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 t…

graphic_templates

The animated graphic templates proofcut ships, with their phases and slots. Read this before graphic_new with a template. Each template says what it draws, its intro, loop and outro in seconds, and every slot with its default. A template is a starting point; a page written as html can do anything CSS can.

ParameterTypeDescription
namestring | nullOne template to return. Unset, every template with its slots.

graphic_new

Make an animated graphic — a web page, captured frame by frame — from a template or your own HTML. A graphic has three phases, in seconds of the page's own timeline: an intro that plays once from the start of wherever it is placed, a hold that fills whatever the span leaves (the page's last intro frame, or `loop` seconds repeated), and an outro that plays once to end the span. The span decides the length, never the graphic, so cuts cannot break it. Write the page's outro animations to start where the intro ends (after one loop, if it loops). Nothing on the page may load from the network.…

ParameterTypeDescription
name *stringThe graphic's name: lowercase letters, digits, - and _. overlay_add places it by this name.
capturebooleanCapture it now. False writes the page and draws nothing.
clipsarray | nullSpans of the project's clips the html page shows: [{"clip": ID, "start": s, "end": s, "name": n}], start and end in the clip's seconds (default the whole clip), cut into the graphic as <name>.mp4 (def…
htmlstring | nullA whole page, written by hand. CSS animations and transitions are seeked frame by frame, and requestAnimationFrame, performance.now and Date follow the seek; a script on timers must define window.proo…
intronumber | nullSeconds of the page that play once from the start of the span.
loopnumber | nullSeconds of the page after the intro to repeat through the hold, for a hold that moves (a blinking caret). Unset, the hold is the page's last intro frame, still; a page still moving there is refused.
outronumber | nullSeconds of the page, from the hold on, that play once to end the span.
pagesintegerBrowser pages capturing side by side, 1 to 8. Default 2.
pathstring | nullThe 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 t…
replacebooleanReplace a graphic of this name. Unset, an existing one is refused.
slotsobject | nullThe template's slots, as text. A colour is #rrggbb, a number a number.
templatestring | nullA template to fill (graphic_templates lists them). One of template or html.

graphic_edit

Change an animated graphic — refill its slots, replace its page, or move its phases — and recapture it. Every overlay placing it follows, since an overlay names the graphic, not its frames. Undo does not revert a graphic's page: it lives beside the project's manifest, like a card's PNG.

ParameterTypeDescription
name *stringThe graphic to change.
capturebooleanRecapture now. False leaves the capture stale until graphic_capture.
clipsarray | nullSpans of project clips to cut in, as graphic_new takes them. Each replaces a clip of the same file name; the others stay.
htmlstring | nullA whole new page. The graphic stops being its template's.
intronumber | nullNew intro length, in seconds.
loopnumber | nullNew loop length, in seconds, making the hold loop.
no_loopbooleanMake the hold still again.
outronumber | nullNew outro length, in seconds.
pagesintegerBrowser pages capturing side by side, 1 to 8. Default 2.
pathstring | nullThe 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 t…
slotsobject | nullSlots to change, merged into the ones it was filled with.

graphic_capture

Capture one animated graphic, or every one whose capture is missing or stale. Needed after a canvas or frame-rate change; graphic_new and graphic_edit capture on their own. Runs a headless browser; `doctor` says whether this machine has one.

ParameterTypeDescription
forcebooleanRecapture even a current one.
namestring | nullThe graphic to capture. Unset, every graphic whose capture is missing or stale.
pagesintegerBrowser pages capturing side by side, 1 to 8. Default 2.
pathstring | nullThe 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 t…

graphic_ls

Every animated graphic in the project, whether its capture is current, and which overlays place it.

ParameterTypeDescription
pathstring | nullThe 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 t…

graphic_sheet

Look at an animated graphic: one labelled tile per phase boundary, as an image. The intro's first frame and two more across it, the hold (and the loop's middle), and the outro's middle and last frame, flattened over grey so a transparent graphic reads. What you see is an opinion, not a check.

ParameterTypeDescription
name *stringThe captured graphic to look at.
pathstring | nullThe 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 t…

graphic_save

Save an animated graphic to this machine's library, where every project can load it. The page and its phases are saved; the frames are not, since another project may have another canvas.

ParameterTypeDescription
name *stringThe project's graphic to save.
as_namestring | nullThe name in the library. Unset, the same name.
pathstring | nullThe 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 t…
replacebooleanReplace a library graphic of that name. Unset, it is refused.

graphic_library

Every animated graphic saved to this machine's library (graphic_save), with its phases.

graphic_load

Copy a graphic from this machine's library into the project, and capture it at the project's canvas.

ParameterTypeDescription
saved *stringThe library graphic to copy in (graphic_library lists them).
capturebooleanCapture it now at this project's canvas and rate.
namestring | nullIts name in this project. Unset, the same name.
pagesintegerBrowser pages capturing side by side, 1 to 8. Default 2.
pathstring | nullThe 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 t…
replacebooleanReplace a project graphic of that name. Unset, it is refused.

fonts

Will the caption font actually draw on this machine? Reports two answers side by side and does not merge them: `fontconfig` says whether the family is present, `render` burns the family and an impossible family and compares the pixels. Identical pixels mean the name is substituting whatever fontconfig claims — the only way to settle which face drew is to measure a render. `path` is optional: with a project, this checks the font that project's caption style would burn; without one, proofcut's default. `install` copies the vendored face where this OS's font system looks (fontconfig, CoreText…

ParameterTypeDescription
installbooleanCopy the vendored face where this OS's font system looks (fontconfig, CoreText or DirectWrite). Off by default, because it writes into the home directory.
pathstring | nullA project directory, or nothing. Omitting it means *no project* here — never the bound one — and reports proofcut's own default caption face; with a project, it reports the face that project's cap…

card_new

Make a card from a template: fill its slots, write the SVG, render it. `name` is the `<name>` in `card:<name>` — the key a cue points at. Both the SVG source and the PNG are written under the project's `assets/cards/`, so the card can be re-edited later and re-rendered with card_render rather than redrawn. A slot value is text. A newline inside one is a line break wherever the template accepts multiple lines; nothing wraps automatically, because a guessed wrap overflows the frame without saying so. Ratings are numbers out of five, to the nearest half. **Leave `width`/`height` unset unless…

ParameterTypeDescription
name *stringThe `<name>` in `card:<name>` — the key a cue points at. The SVG and the PNG are both written under `assets/cards/`.
slots *objectThe template's slots filled in, as text. A newline is a line break where the template takes several lines; ratings are numbers out of five, to the nearest half.
template *stringWhich template to fill; `card_templates` lists them with their slots. A per-aspect variant file is resolved from the canvas, never named here.
heightinteger | nullRender height, given together with `width` or not at all.
overwritebooleanRedraw a card of this name that already exists. Refused without it, since a cue may already point at that card.
pathstring | nullThe 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 t…
widthinteger | nullRender width. **Leave it unset unless you mean something other than this film** — it defaults to the project's canvas, which is what stops a card pillarboxing inside the frame it was made for. Given…

card_render

Rasterise `assets/cards/<name>.svg` into the PNG `card:<name>` shows. Author the SVG under the project's `assets/cards/`, then render it here; both files are kept, so a card can be re-edited rather than redrawn. The PNG is what a `card:` cue resolves to, so a card is not usable until this has run. `width`/`height` are given together or not at all and set the *render* size — the document is drawn at that scale rather than rasterised and resampled — and they fit rather than distort, so a size at a different aspect from the document's comes back smaller on one axis. Omitted, the document re…

ParameterTypeDescription
name *stringThe card to rasterise: `assets/cards/<name>.svg` becomes the PNG that `card:<name>` resolves to.
heightinteger | nullRender height, given together with `width` or not at all.
pathstring | nullThe 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 t…
widthinteger | nullRender width. The document is *drawn* at this scale rather than resampled, so text stays sharp, and it fits rather than distorts. Given together with `height` or not at all; omitted, the document rend…

card_reauthor

Draw recorded cards again at the shape this project renders at now. Reach for this after `canvas` — a card is the only thing in a project whose shape a canvas change cannot fix on its own, because the aspect is baked into the SVG it was drawn from. Re-rendering the old SVG at the new size would pillarbox the card inside the frame; this fills the template again at the new canvas, from what `card_new` recorded. With no `name` it sweeps every recorded card the canvas has left behind, plus any whose files have gone missing. Named, it redraws that one whatever its canvas. Read `unrecorded` in…

ParameterTypeDescription
namestring | nullOne card to redraw, whatever its canvas. Omit it to sweep every recorded card the canvas has left behind, plus any whose files have gone missing.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

card_safe_zones

Measure a rendered card's ink in and around a platform's reserved band. **Report only** — nothing here blocks a render, and there is no default floor: `SCENE_THRESHOLD`'s own history is that a threshold gets pinned by looking at real output, not picked cold, and this check has had exactly one look so far. `platform` is one of proofcut's own zones (`tiktok-organic`, `tiktok-ads`, `reels`, `shorts`, `worst-case`) or one an applied pack's active variant declares — `pack_show` lists both. Reads `card` from its already-rendered PNG, never from the manifest's recorded slots alone, so the ink i…

ParameterTypeDescription
card *stringThe card to measure, read from its already-rendered PNG rather than from the recorded slots — so the ink measured is the ink on disk.
platform *stringWhose reserved band to measure against: one of proofcut's own zones (`tiktok-organic`, `tiktok-ads`, `reels`, `shorts`, `worst-case`) or one an applied pack's active variant declares. `pack_show` list…
pathstring | nullThe 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 t…

pack_apply

Load a channel preset pack, resolve and snapshot every variant, activate one. `pack_path` is an external file — never confined to the project, the same way `import_media`'s `source` is not — because a pack typically lives in a separate branding repo. **Every declared variant is resolved and hashed, not only the one `variant` activates**, so `pack_activate` can switch between them later with no file re-read; nothing after this call ever depends on `pack_path` staying reachable. For every font role, `fonts.probe` asks whether the declared family actually draws *on this machine* — a famil…

ParameterTypeDescription
pack_path *stringThe pack file to load. An external file, never confined to the project — a pack usually lives in a separate branding repo — and nothing after this call depends on it staying reachable.
allow_fallbackbooleanAccept a declared CSS fallback for a font family that does not actually draw on this machine, recording which was used. Without it, a family that does not draw refuses the whole call.
install_fontsbooleanVendor the pack's own `fonts/` directory, if it ships one. Off by default, since it writes into `$HOME`.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
variantstringWhich resolved variant to activate. Every declared variant is snapshotted regardless, so `pack_activate` can switch later with no file re-read.

pack_activate

Switch the active pack variant to one already snapshotted by pack_apply. No file re-read — refuses an unknown variant by name, naming the ones that are actually available, rather than trying to load it here.

ParameterTypeDescription
variant *stringWhich already-snapshotted variant to switch to. No file is re-read, and an unknown name is refused by listing the ones that are available.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

pack_apply_captions

Apply the active pack variant's caption preset, through caption_style. **Concrete resolved fields, never a live pointer**: this reads the preset's already-resolved dict off the snapshot and hands it to the ordinary caption_style call, so a later pack swap can never silently overwrite a project's caption look out from under it. Separate from pack_apply on purpose — applying a pack never restyles captions on its own, only this does.

ParameterTypeDescription
preset *stringWhich caption preset of the active variant to apply, through the ordinary `caption_style` call. This is the only thing that restyles captions from a pack; `pack_apply` never does it on its own.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

pack_show

What a pack declares — from its file, a project's snapshot, or both. `pack_path` alone reads and resolves the file fresh, needing no project (`card_templates`'s own shape). `path` alone reports what a project actually has applied, from its stored snapshot — never the file again. Both together compares "what the file says now" against "what the project is still running."

ParameterTypeDescription
pack_pathstring | nullRead and resolve this pack file fresh, needing no project. With `path` as well, it compares what the file says now against what the project is still running.
pathstring | nullA project directory, or nothing. Omitting it means *no project* here — never the bound one — so `pack_path` alone reads the file fresh; given, it reports what that project has applied.
variantstring | nullReport one variant rather than all of them.

pack_status

Active pack variant, and which cards/captions have drifted from it. A card is `stale` when its own recorded pack_hash no longer matches the active variant's current hash — not wrong, since card_new only pre-merges a pack's style and a per-call slot still wins, but worth a `card_reauthor` to catch up. `caption_preset_stale` is the same question for whatever pack_apply_captions last wrote.

ParameterTypeDescription
pathstring | nullThe 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 t…

cue_add

Add a picture cue: from `word_index` of `clip_id` onward, show `asset`. Or from an `event` of `clip_id`, for a recording with no words. Source-addressed like a word range — `asset` is an opaque key or path, not checked against disk here; `build_shots` resolves it, the same way assemble_scream.py's CUES table did by hand. Refused if a cue already sits at that exact word; cue_rm it first to replace it. Echoes the resolved word plus three either side, the same convention every word-indexed tool follows. Addressed by `word_index` **or** `phrase` (exactly one) — a phrase binds to its **first…

ParameterTypeDescription
clip_id *stringThe transcript the cue is addressed against — the VO on a voiceover project, not the footage being shown. `asset` is what gets seen.
afterintegerA forward cursor over a phrase's matches: any match at or before this word index is skipped. -1, the default, means from the start.
assetstring | nullWhat to show from that word onward: a registered clip id, or `card:<name>` for a card. An opaque key here, resolved by `build_shots` rather than checked against disk now.
dissolvenumber | nullCrossfade into this cue over this many seconds: the incoming shot's frames before its in-point fade in, reaching the shot on the cue's word. Where the clip has none (an unpinned first use), the outgoi…
dissolve_easestring | nullThe crossfade's curve: linear (the default), ease, ease-in or ease-out.
eventstring | nullStart the picture on this event of clip_id instead of a word: `name`, or `name#k` when the name repeats — a screen recording's logged moments, for a clip with no transcript. Not with word_index or p…
occurrenceinteger | nullDisambiguate a phrase by count when it matches more than once, **1-based** in transcript order among the matches after `after`: 1 is the first, 2 the second. Unset, an ambiguous phrase is refused —…
pathstring | nullThe 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 t…
phrasestring | nullAddress the cue by what is said instead of by index. It binds to the phrase's **first** word — "from this word onward".
punchnumber | nullA scale punch from the cut, about the canvas centre: 1.1 zooms in 10%. Not with a dissolve on the same cue.
punch_easestring | nullThe punch's curve. Default ease-out.
punch_modestring | null`in` (default) zooms to `punch` and holds for the shot; `settle` starts there and eases back.
punch_secondsnumber | nullHow long the punch moves. Default 0.2.
src_startnumber | nullWhere inside `asset` the shot reads from, in that asset's own source seconds — the number `describe_ls` reports for a window. An in-point and never a range: unpinned, the shot reads from wherever th…
word_indexinteger | nullThe word the picture starts on, in `clip_id`'s transcript. Give this or `phrase`, not both.

cue_set

Set or clear a crossfade or a scale punch on one picture cue, or on every cue. Address one cue as `cue_rm` does, or pass `every` for all of them: "a scale punch per cut" is one call. `dissolve` crossfades into the cue (0 clears); `punch` scales the shot about the canvas centre from its cut (1 clears). A field not given is left alone. A punch and a crossfade on one cue are refused: the crossfade removes the cut the punch is on. Checked against the picture plan before writing, and each crossfade is echoed: `from: "outgoing"` means the incoming clip had nothing before its in-point, so the fade…

ParameterTypeDescription
afterintegerA forward cursor over a phrase's matches: any match at or before this word index is skipped. -1, the default, means from the start.
clip_idstring | nullThe transcript the cue is addressed against. With `every`, narrows to that clip's cues; omitted with `every`, every cue.
dissolvenumber | nullCrossfade into this cue over this many seconds: the incoming shot's frames before its in-point fade in, reaching the shot on the cue's word. Where the clip has none (an unpinned first use), the outgoi…
dissolve_easestring | nullThe crossfade's curve: linear (the default), ease, ease-in or ease-out.
eventstring | nullThe event the cue sits on, spelled as `cue_add` was given it.
everybooleanSet every cue (of `clip_id`, if given) in one call: a punch or crossfade per cut.
occurrenceinteger | nullDisambiguate a phrase by count when it matches more than once, **1-based** in transcript order among the matches after `after`: 1 is the first, 2 the second. Unset, an ambiguous phrase is refused —…
pathstring | nullThe 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 t…
phrasestring | nullAddress the cue by wording; it resolves to its first word, as `cue_add` placed it.
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
punchnumber | nullA scale punch from the cut, about the canvas centre: 1.1 zooms in 10%. Not with a dissolve on the same cue. 1 clears it.
punch_easestring | nullThe punch's curve. Default ease-out.
punch_modestring | null`in` (default) zooms to `punch` and holds for the shot; `settle` starts there and eases back.
punch_secondsnumber | nullHow long the punch moves. Default 0.2.
word_indexinteger | nullThe word the cue sits on. Give this, `phrase` or `event`, or pass `every`.

cue_rm

Remove one picture cue, addressed the way `cue_add` placed it. Give `word_index`, or `phrase` to resolve against `clip_id`'s transcript (its first word, `cue_add`'s own binding). Refuses, listing every cue, when none sits at that word — `cue_ls` shows the table first. Shots re-project from the cues that remain; no other cue moves. Replacing a cue's asset is `cue_rm` then `cue_add`, since `cue_add` refuses an occupied word. `undo` puts it back.

ParameterTypeDescription
clip_id *stringThe transcript the cue was addressed against.
afterintegerA forward cursor over a phrase's matches: any match at or before this word index is skipped. -1, the default, means from the start.
eventstring | nullThe event the cue sits on, spelled as `cue_add` was given it.
occurrenceinteger | nullDisambiguate a phrase by count when it matches more than once, **1-based** in transcript order among the matches after `after`: 1 is the first, 2 the second. Unset, an ambiguous phrase is refused —…
pathstring | nullThe 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 t…
phrasestring | nullAddress it by wording instead; it resolves to its first word, the way `cue_add` placed it.
word_indexinteger | nullThe word the cue sits on. Give this or `phrase`.

cue_ls

List the picture cue table, each entry echoed with its resolved word. Read-only. Omit `clip_id` to see every clip's cues. Ordered by `(clip_id, word_index)`, not by resolved timeline position — that needs the edit's surviving ranges, which is `build_shots`'s job.

ParameterTypeDescription
clip_idstring | nullList one clip's cues. Omit it for the whole table.
pathstring | nullThe 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 t…

cue_reresolve

Re-resolve every phrase-addressed cue, unspoken mark and music-bed boundary against the current transcript, and report what moved. A re-record replaces a clip's transcript wholesale, and every stored `word_index` on that clip potentially now addresses the wrong word — already true today of a plain word-index entry, and this does not close that gap for one. What it closes it for is an entry that also carries the `phrase` it was placed with: re-resolving says where that same wording landed now, without hand re-indexing a whole cue table. `apply=False` (default): report only, nothing is writt…

ParameterTypeDescription
applybooleanRewrite `word_index` wherever the stored phrase still resolves to exactly one match. Off by default: it reports first, and anything ambiguous or unresolved is reported and left untouched either way.
clip_idstring | nullRe-resolve one clip's entries. Omit it for every clip.
pathstring | nullThe 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 t…

assets

Every asset a cue can point at — clip or card — for an assets pane. The cue vocabulary is `clip_id` or `card:name`, so this lists both: each clip with its probe metadata, transcript/description presence, `role` and `media.playability` verdict; each card with what it was made from, whether its files exist, and whether it has a re-author record. Every entry carries `cues`, how many cues reference it — "is this used" is the question an assets pane exists to answer. Read-only.

ParameterTypeDescription
pathstring | nullThe 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 t…

unspoken_add

Mark a word the transcript holds and the recording never said. Whisper transcribes straight *across* a retake splice and emits words from both takes interleaved, so words appear in the index that nobody said. They are in the transcript and nowhere else — not the audio, not the render — so captions draw them and `verify` expects them. This writes a mark beside the transcript and never touches the transcript itself: word indices must not renumber, or every cue pointing at one would move. Captions, `caption_view` and `verify` all stop expecting the word; no audio, timing or shot changes, be…

ParameterTypeDescription
clip_id *stringThe transcript holding the word.
afterintegerA forward cursor over a phrase's matches: any match at or before this word index is skipped. -1, the default, means from the start.
occurrenceinteger | nullDisambiguate a phrase by count when it matches more than once, **1-based** in transcript order among the matches after `after`: 1 is the first, 2 the second. Unset, an ambiguous phrase is refused —…
pathstring | nullThe 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 t…
phrasestring | nullAddress it by wording instead — but unlike `cue_add`, a phrase matching more than one word is refused rather than bound to an edge: a mark addresses exactly one word.
word_indexinteger | nullThe word to mark. Give this or `phrase`.

unspoken_rm

Unmark a word `unspoken_add` marked, putting it back into captions and `verify`. Address it by `word_index`, or by a `phrase` resolving to exactly one word. Refuses a word that is not marked. The transcript file is never edited either way — a mark is a manifest entry — so no cue or caption renumbers. `unspoken_ls` lists the marks; `undo` restores one.

ParameterTypeDescription
clip_id *stringThe transcript holding the marked word.
afterintegerA forward cursor over a phrase's matches: any match at or before this word index is skipped. -1, the default, means from the start.
occurrenceinteger | nullDisambiguate a phrase by count when it matches more than once, **1-based** in transcript order among the matches after `after`: 1 is the first, 2 the second. Unset, an ambiguous phrase is refused —…
pathstring | nullThe 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 t…
phrasestring | nullAddress it by wording instead; it has to resolve to exactly one word.
word_indexinteger | nullThe marked word. Give this or `phrase`.

unspoken_ls

Every word marked never-spoken, with what the transcript says now. Read-only. `stale` is a mark whose recorded text and current text disagree — the transcript was re-attached under it. A stale mark is never applied, so re-transcribing surfaces as a list to re-check rather than as words disappearing from a caption file.

ParameterTypeDescription
pathstring | nullThe 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 t…

unspoken_detect

Propose the words a render's own transcription says were never spoken. Candidates come from two mechanisms and one witness decides both. A **seam** is where whisper read across a splice and invented a word; a **fragment** is where a cut left a sliver of a real one, which draws as a whole word on screen and is inaudible. The witness is the render: the candidate's word is counted in the timeline over a short window and in the render's own transcription over the same seconds, and it is proposed only where the timeline has more of them than the render heard. Counted rather than looked up because…

ParameterTypeDescription
render *stringThe rendered file to judge against — the witness. A word is proposed only where the timeline holds more of it over a span than the render's own transcription heard.
applybooleanMark the proposals. Off by default, like `reframe_detect`: a wrong mark deletes a real word from every check proofcut has, so read the echoes first.
clip_idstring | nullLimit the scan to one transcript.
languagestring | nullForce a language code for that transcription.
modelstring | nullThe whisper model to transcribe the render with, when no `transcript_path` is given.
padnumberWiden the window each candidate is counted in, in seconds.
pathstring | nullThe 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 t…
transcript_pathstring | nullAn existing transcription of `render`, which is what `verify` leaves in `cache/verify/`. It is never found automatically: a re-render under the same filename would otherwise be judged against the prev…

build_shots

Project the cue table into contiguous shots over the current edit. Maps each cue's word through the edit's surviving ranges to a timeline frame, resolves its `asset` to a checked path (`card:name` under `assets/cards/`, else a registered video clip_id), and runs each shot to the next cue — the last to the edit's own frame total. Refuses if a cue's word was cut from the edit; fix it with cue_rm/cue_add first. `fps` picks the frame grid; it defaults to the project's timebase, which for an audio-only project is milliseconds rather than frames. Pass the rate `export` will use to see the frames…

ParameterTypeDescription
fpsnumber | nullThe frame grid to project onto. Unset, the project's timebase — which on an audio-only project is milliseconds rather than frames. Pass the rate `export` will use to see the frames the export actual…
pathstring | nullThe 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 t…

seed_timeline

Lay a clip down as the timeline, silence-cut by auto-editor by default. A list of clips lays several recordings end to end in that order, each silence-cut the same way — a footage dump seeded once, cleaned once, then `split`. `clips` reports each one. `edit_expr` passes auto-editor's edit language straight through, e.g. "(or audio:0.03 motion:0.06)". Writes `project.otio` and **replaces any timeline already there** — every cut made since the last seed included. It seeds a project rather than re-cutting one, and a re-seed with the same arguments lands the same timeline. The old one is sn…

ParameterTypeDescription
clip_id *The clip to lay down as the timeline, or a list of recordings laid end to end in that order. Several must all have picture.
edit_exprstring | nullauto-editor's edit language, passed straight through — e.g. `(or audio:0.03 motion:0.06)`. It replaces the threshold-based rule.
marginstring | nullHow much to leave either side of kept audio, in auto-editor's own notation (e.g. `0.2s`), so an edge lands in the silence rather than on the breath.
pathstring | nullThe 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 t…
remove_silencesbooleanSilence-cut the clip on the way in, through auto-editor. On by default; false lays the whole clip down untouched.
thresholdnumberauto-editor's audio loudness threshold, 0–1. Lower keeps quieter material.

cut_by_transcript

Cut or keep inclusive word ranges, e.g. cut=[[30, 45], [120, 131]]. Pass exactly one of `cut` or `keep`. `pad` widens each range on both sides in seconds, to land the cut in the silence between words. The timeline is snapshotted first, so this is undoable. Every range echoes back the words it resolved to, plus the few words either side of it — an index one past the intended phrase reads fine on its own and is only visibly wrong next to its neighbours. `pad_reach` names any neighbour the padding eats, since padding is in seconds and the echoed text is not. `through_pause=True` (cut only) e…

ParameterTypeDescription
clip_id *stringThe transcript the word ranges address.
confirm_suspectbooleanGo ahead even though a boundary word claims a suspect duration. Read the echoed words first — a suspect duration usually means whisper hid a retake inside that word, so the edge is not where it read…
cutarray | nullInclusive word ranges to remove, e.g. `[[30, 45], [120, 131]]`. Pass exactly one of `cut` or `keep`.
keeparray | nullInclusive word ranges to keep, everything else going. Pass exactly one of `cut` or `keep`.
padnumberWiden each range on both sides, in seconds, so the cut lands in the silence between words rather than on them. `pad_reach` names any neighbour the padding eats.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
through_pausebooleanExtend each cut's trailing edge through the pause after its last word, wherever that gap was wide enough to draw a `[N.Ns]` marker — so cutting a phrase also takes the dead air after it. A no-op whe…

cut_by_time

Cut spans of RENDER/TIMELINE time — what a human reports watching an export. Each span is [start, end) in the seconds the current export plays at (what timeline_status/verify describe), not source time and not word indices. proofcut converts each span to the source interval(s) it plays — the inverse of the mapping captions and playback use — and cuts those through the same Edit.remove path cut_by_transcript uses. The render timestamp is never stored: the conversion happens once, here, at call time. All spans resolve against the CURRENT timeline before any is applied, so a list of notes…

ParameterTypeDescription
spans *arrayHalf-open `[start, end)` spans in the seconds **an export plays at** — what a person reports off a watch, not source time and not word indices. Every span resolves against the current timeline befor…
confirm_suspectbooleanGo ahead even though a boundary word claims a suspect duration. Read the echoed words first — a suspect duration usually means whisper hid a retake inside that word, so the edge is not where it read…
padnumberWiden only the outer edges of each requested span, in seconds.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

restore

Un-cut whichever part of these inclusive word ranges is not currently in the timeline. Same range shape as cut_by_transcript's cut=/keep=. Each range resolves to source time exactly like a cut does; only the part Edit.gaps says is actually absent comes back — material still present in the request is left alone, a request spanning two separate cuts restores both as separate pieces, a request only touching part of one cut restores only that part. Restoring only ever brings back material the source recording already has (bounded by the clip's own registered duration), so the timeline stays a s…

ParameterTypeDescription
clip_id *stringThe clip whose cut material to bring back.
ranges *arrayInclusive word ranges, the shape `cut_by_transcript` takes. Only the part the edit says is actually absent comes back; material still present is left alone.
padnumberPass the same `pad` the original cut used to bring its padding sliver back, not only the words.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

locate

Where does a SOURCE word or SOURCE time play in the current render? cut_by_time's read-only mirror, and the tool to reach for before quoting any timestamp to a human: word indices and transcript times address the original recording, so they are NOT render times and every accumulated cut moves them further apart. **Two clocks, and this reports the Edit's.** `timeline_start`/ `timeline_end` are 0 = the Edit's own first frame, unchanged whether or not a `head` (a cold open) is configured. `head_seconds` rides along (0.0 with none) so a caller that needs the *actual* render time — this tool's…

ParameterTypeDescription
clip_id *stringThe transcript, or the recording, the address belongs to.
afterintegerA forward cursor over a phrase's matches: any match at or before this word index is skipped. -1, the default, means from the start.
eventstring | nullLocate a named instant from `events`, as `name` or `name#k` (k counts that name's events from 0). Echoed with its neighbours.
firstinteger | nullFirst word index, inclusive. Address it one way per call: `first`/`last`, `source_start`/`source_end`, or `phrase`.
lastinteger | nullLast word index, inclusive. Defaults to `first`.
occurrenceinteger | nullDisambiguate a phrase by count when it matches more than once, **1-based** in transcript order among the matches after `after`: 1 is the first, 2 the second. Unset, an ambiguous phrase is refused —…
pathstring | nullThe 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 t…
phrasestring | nullLocate by wording. A phrase is naturally a range, so it resolves straight to first and last with no edge to pick.
source_endnumber | nullEnd of the source interval, in the recording's own seconds.
source_startnumber | nullSeconds into the original recording. Omit `source_end` to locate an instant.

timeline_status

Report the current timeline: duration, segment count, undo depth. `head`/`tail` echo the cold open / finishing pass set with the `head`/ `tail` tools, or null for either with none. `expected_frames`/ `expected_duration` are what `export` would lay down — `timeline_duration` alone stays the `Edit`'s own length even with a head or a tail configured, since the `Edit` never grows to describe either bookend. **This is the tool to call first, to see what state a project is in** — a fresh or un-seeded project answers `seeded: false` with the clip list rather than refusing (TRIAL.md § `timeline…

ParameterTypeDescription
pathstring | nullThe 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 t…

timeline_view

The whole edit at once: segments, cut seams, and every word's fate. timeline_status counts things; this says what they are. Each segment carries both coordinate systems (source in, timeline out), each seam is named by the surviving words either side of it rather than by the second it currently sits at, and each word reports whether it survived, how much of it did, and where it now plays. Survival is an overlap test, so a word a cut split reports present with `partial` set — that is normal on whisper timings, not a defect. Words with a suspect duration carry the same flag attach_transcript…

ParameterTypeDescription
clip_idstring | nullThe transcript whose words' fate to report. A clip that is registered but not on the edit still answers — read `off_timeline`, or every word reads `present: false` and looks cut.
firstintegerIndex into the `words` list to start the window at. 0 by default.
limitintegerMost entries of `words` to return; `words_next` says where to continue. The segments, seams and shots are always whole.
pathstring | nullThe 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 t…

properties

Project/clip/cue detail for a properties inspector, composed only. No arguments: `status`, `canvas` and `caption_style`'s own reports. `clip_id`: adds that clip's `assets` entry, its `reframe` window table, and its whole `cue_ls`. Both `clip_id` and `word_index`: adds `cue` (the matching entry from that `cue_ls`, or null if the word carries none) and, only when `cue` is null, `context` — the word plus three either side, the same echo every word-indexed tool gives (a cue's own entry already carries this, so it is not duplicated). `word_index` needs `clip_id`.

ParameterTypeDescription
clip_idstring | nullAdd this clip's assets entry, framing windows and cue table to the report.
pathstring | nullThe 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 t…
word_indexinteger | nullWith `clip_id`, add the cue at that word — or, when there is none, the word plus three either side. It needs `clip_id`.

finish_report

Duration/canvas/caption/picture/marks/seams report for Finish mode, composed only — the truth strip's own numbers. `duration`: edit seconds, tail seconds, and their sum. `canvas`: the stored or footage-fallback canvas, plus each export preset's own ok/refusal-message. `captions`: whether a style is configured, its resolved font, and whether the last render actually burned it in ("yes"/"no"/"unknown" — unknown when no render log exists). `picture`: cue count, pinned count, and the picture plan's own refusal message when it has one. `marks`: unspoken marks applied vs. still stale. `seams`:…

ParameterTypeDescription
continuitybooleanAdd the continuity finding counts by kind and how many are accepted. Off by default — its stub half pays the same scene-cut decode `framing` does.
framingbooleanAdd stale-framing numbers. Off by default because it decodes placed footage for a scene-cut scan (5.7s wall, 46s of CPU on the film, uncached, every call). Off, `framing` is null, which means *not mea…
holdsbooleanAdd the per-hold seam and transcription report against the last render. Off by default for the same reason: it decodes and transcribes render spans. Null when not asked for, and also null when nothing…
pathstring | nullThe 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 t…

undo

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 i…

ParameterTypeDescription
pathstring | nullThe 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 t…
planbooleanRoll nothing back; return `changes`' account of what `steps` would undo. There is no redo, so read it before a `steps` above 1.
stepsintegerHow 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.

changes

What the last `steps` mutations did — what `undo` that many times would roll back. Read-only. Compares the snapshot every mutation already leaves against the live project. `timeline.removed` and `timeline.added` are source spans per clip with the words they carry and where they played, so a cut reads as the words it took out rather than as every later segment moving; a pure reorder is `reordered`; spans under 50 ms (a frame's edge moving) are only counted, in `removed_slivers`/`added_slivers`. `manifest.keys` lists each changed manifest key: records `added`/`removed`, and `changed` field by…

ParameterTypeDescription
pathstring | nullThe 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 t…
stepsintegerHow many mutations back to compare against, from 1 (the last one — what a single undo would roll back) up to the undo depth. The reply covers everything since that point, not only the oldest step.

export

Export the timeline as an NLE project, or render it. The default writes an MLT project Kdenlive opens; `export_format=null` renders media. The writer is chosen **from the project**, never from an argument: a single-source timeline goes through auto-editor, and a multi-source one — a cue table, a second clip, a canvas, a bed, a tail — is written as MLT by proofcut and rendered by melt, because auto-editor renders a second source at 720x576 while exiting 0. The reply names the writer, and a melt render reports resolution and frame count measured off the finished file. `preset` bundles qual…

ParameterTypeDescription
output *stringWhere to write the project file or the render. A file argument, not a project selector: it writes where you say.
export_formatstring | null`kdenlive` (the default) writes an MLT project Kdenlive opens and melt renders. Pass null to render media instead. Other auto-editor targets — shotcut, premiere, resolve, final-cut-pro — pass stra…
fpsnumber | nullThe NLE timeline's frame rate, defaulting to the picture's own (30 for an audio-only project). It sets the render's rate too wherever proofcut owns the profile, and is ignored when auto-editor renders…
loudnessnumber | nullMaster the render to this many LUFS integrated: one gain and a true-peak limiter, measured before and after, and refused — leaving the render as it was — if the result misses by more than 1 LU. Re…
pathstring | nullThe 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 t…
presetstring | nullA named quality bundle — `youtube`, `web`, `tiktok-reels`, or `custom` (which needs `resolution`) — meaningful only with `export_format=null`, since an NLE project file has no bitrate. `tiktok-ree…
resolutionarray | null`[width, height]`. It **letterboxes** the existing frame on the single-source render path rather than cropping or reframing it, and is refused outright on a melt (multi-source) project.
true_peaknumberThe dBTP ceiling the loudness pass limits under. -1.0 by default.

add_captions

Write word-timed ASS captions for the current timeline to `output`. Timings follow the *timeline*, not the original recording, so captions stay correct after cuts; words that were cut are omitted and counted as `words_cut`. The look comes from the project — set it with caption_style, see it with caption_view. The arguments here override it for this one file and are not written back, so regenerating after a cut is styled the project's way again. Leave them unset unless you specifically want a one-off. The sidecar .ass is always written to `output` — Kdenlive loads it and it stays restyla…

ParameterTypeDescription
output *stringWhere to write the `.ass` sidecar — always, burning or not. Never a video path: a media suffix is refused. The burned video goes to `burn_output`.
burnstring | nullAlso burn the captions into this video with ffmpeg; the sidecar is still written to `output`. It must be a render of **this** timeline — against any other video the timings will not line up. `export…
burn_outputstring | nullWhere the burned video goes, when `burn` is set. Unset, it is derived from `burn`'s own name in the project's renders folder.
clip_idstring | nullCaption one transcript's words rather than every clip's.
holdnumber | nullHow long a cue lingers after its last word, in seconds.
max_durationnumber | nullLongest a single cue stays on screen, in seconds.
max_gapnumber | nullStart a new cue when the silence between two words exceeds this many seconds.
max_wordsinteger | nullMost words in one caption cue.
pathstring | nullThe 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 t…
presetstring | nullOverride the project's base look for this one file — `clean`, `karaoke` or `boxed`. Nothing here is written back to the project.

caption_view

The captions this timeline would produce, and the style in force. add_captions without writing a file: the same cues, in timeline seconds, already grouped by the project's own break rules — so this is how to check a restyle, or read back what a caption actually says at some moment, before committing a file to it. Reports rather than refuses: a project with no transcript, or one whose every word has been cut, comes back with an empty `cues` and a `cues_error` saying which. Read-only. `cues` is a window of `limit` from `first`; `cues_total` is how many the film has and `cues_next`, when pre…

ParameterTypeDescription
clip_idstring | nullShow one transcript's captions rather than every clip's.
firstintegerIndex of the first cue to return. 0 by default.
limitintegerMost cues to return; `cues_next` says where to continue.
pathstring | nullThe 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 t…

caption_span_add

Captions off over a stretch of the film, or a different look there. `off=True` draws none (over an end card or logo). `style` changes caption_style fields over the span only; `{"max_words": 1, "size": 150, "position": "middle"}` over one word draws it alone and large, a beat inside ordinary lines. Addressed like overlay_add: start at a word, phrase or event; end at a word, phrase, event or length. A line never crosses a span's edge; later spans win where two overlap. caption_view draws the result; add_captions writes it.

ParameterTypeDescription
clip_id *stringThe clip whose words or events address the span — the transcript the word indices index, or the recording the events belong to.
afterintegerA forward cursor over a phrase's matches: any match at or before this word index is skipped. -1, the default, means from the start.
eventstring | nullStart on this event of clip_id: `name`, or `name#k` when the name repeats.
occurrenceinteger | nullDisambiguate a phrase by count when it matches more than once, **1-based** in transcript order among the matches after `after`: 1 is the first, 2 the second. Unset, an ambiguous phrase is refused —…
offbooleanDraw no captions over the span. Give this or `style`.
pathstring | nullThe 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 t…
phrasestring | nullStart on this phrase's FIRST word, resolved against clip_id's transcript.
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
secondsnumber | nullEnd this long after the start.
styleobject | nullcaption_style fields (any but `preset`) that differ over the span, on top of the project's look: {"max_words": 1, "size": 150, "position": "middle"} draws each word alone and large. Give this or `off`…
until_eventstring | nullEnd on this event of clip_id.
until_phrasestring | nullEnd as this phrase's LAST word ends.
until_word_indexinteger | nullEnd as this word ends. One of until_word_index, until_phrase, until_event or seconds.
word_indexinteger | nullThe word the span starts on. One of word_index, phrase or event.

caption_span_ls

Every caption span, later ones winning, with where each plays now. Read-only.

ParameterTypeDescription
pathstring | nullThe 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 t…

caption_span_rm

Remove the caption span at `position`, as caption_span_ls numbers it.

ParameterTypeDescription
position *integerThe span to remove, by its position in caption_span_ls.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

lexicon_ls

The project's standing corrections: `hear` (captions) and `say` (vo_synth). Read-only. `hear` maps whisper's spelling to what captions print; `say` maps a scripted word to what the voice model is given. `caption_view`'s `corrected` shows where the `hear` rules fired.

ParameterTypeDescription
pathstring | nullThe 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 t…

lexicon_add

Keep a standing spelling correction: captions print `canonical` wherever whisper wrote `heard`. The fix for a caption that shows whisper's spelling ("rough" for "ruff", "Pup BNB" for a brand). Whole words, one or several: a multi-word key merges its words into one caption word. Every occurrence, so narrow one by including a neighbouring word. Display only; the transcript and `verify` are untouched. The reply counts the caption words it changes now. **Undo does not revert it**: the lexicon is a preference kept beside the project, not an edit. Remove an entry with `lexicon_rm`. `kind="say"` is…

ParameterTypeDescription
canonical *stringWhat to print instead (`hear`) or what the voice model is given (`say`). Written as it should appear: `PupBnB` keeps its capitals.
heard *stringThe words as whisper spelled them, one or several (`rough`, `pup bnb`). Matched as whole words, case and edge punctuation aside, at every occurrence; carry a neighbouring word to narrow it to one plac…
kindstring`hear` (default): a caption correction, also folded out of `vo_synth`'s WER. `say`: a respelling `vo_synth` gives the voice model.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

lexicon_rm

Remove one lexicon entry; refuses a key the lexicon does not hold. The caption goes back to whisper's spelling. `lexicon_ls` lists the entries.

ParameterTypeDescription
heard *stringThe entry's key, matched the way `lexicon_add` matches it.
kindstring`hear` (default) or `say`: which table the entry is in.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

caption_style

Read or change the caption look this project keeps. The style is project state and the captions are derived from it, so a restyle survives every later cut: regenerating re-reads this. Call it with no arguments to read the current look and learn the field names; any argument sets that field and leaves the others alone. `reset` drops every override first — `reset` plus `preset` starts clean from a preset. `preset` is the base look ("clean", "karaoke" for per-word highlight, "reveal" for words landing mid-frame and fading in as spoken, or "boxed"); everything else overrides one of its fields,…

ParameterTypeDescription
boldboolean | nullDraw bold.
boxboolean | nullDraw an opaque box behind the words. It buys legibility over light footage — white captions over the film's own light cards measure 1.10:1 without one — and costs clean edges, since libass draws o…
box_colourstring | nullColour of the box behind the type, when `box` is on.
fontstring | nullFamily name to draw with. Whether it actually draws is a different question from whether it is installed — `fonts` measures a render, and libass substitutes silently at exit 0.
highlightstring | nullWhat a word turns as it is spoken. It only shows with `karaoke` on.
holdnumber | nullHow long a cue lingers after its last word, in seconds.
karaokeboolean | nullFill each word as it is spoken. The fill is left-to-right within a line rather than a per-word step, which is what the grouping fields below shape.
margininteger | nullDistance from the frame edge, in canvas pixels.
max_durationnumber | nullLongest a single cue stays on screen, in seconds.
max_gapnumber | nullStart a new cue when the silence between two words exceeds this many seconds.
max_wordsinteger | nullMost words in one caption cue. Grouping is part of the look, which is why it is stored with it.
outline_colourstring | nullColour of the outline around the type.
outline_widthnumber | nullOutline thickness. With no box this is what holds the words apart from the picture.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
positionstring | nullWhere captions sit, named: `bottom`, `top`, `top-right` and so on.
presetstring | nullThe base look: `clean`, `karaoke` (per-word highlight), `reveal` (words land mid-frame, fading in as spoken) or `boxed`. Everything else overrides one of its fields, and only the overrides are stored.
resetbooleanDrop every override first. `reset` together with `preset` starts clean from that preset.
revealstring | nullHow each word arrives as it is spoken: `fade`, `blur` (blurs and fades in; the outline returns at the end), or `none`. The line is laid out whole from the start, so nothing moves.
reveal_blurnumber | nullHow blurred a word starts under `reveal=blur` (ASS `\blur`; a gaussian of 0.85 x this in canvas pixels). Default 6.
reveal_msinteger | nullHow long a word's reveal takes, in milliseconds. Default 150. Needs a reveal.
shadownumber | nullDrop-shadow distance.
sizeinteger | nullType size, against the project's canvas as the reference frame.
textstring | nullThe word's own colour: `#rrggbb`, `#rrggbbaa`, a name, or an ASS `&H…` value. It comes back resolved, because ASS quotes colours backwards and alpha-inverted.

canvas

Read or change the shape this project renders at. The canvas is project state and every frame size derives from it — the MLT profile and the captions' reference canvas both read it, so a project cannot quote caption sizes against one shape and render another. Call it with no `size` to read what is in force plus the footage-derived shape it would fall back to; `reset` drops the override and returns to that shape. `size` is "WIDTHxHEIGHT", e.g. "1080x1920" for a vertical reel. Both edges must be even. Setting one has a routing consequence, reported as `routes_through`: an overridden project…

ParameterTypeDescription
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
resetbooleanDrop the override and return to the footage-derived shape.
sizestring | null`WIDTHxHEIGHT`, e.g. `1080x1920` for a vertical reel. Both edges must be even. Omit it to read what is in force plus the footage-derived shape it would fall back to.

head

Read or change the cold open this project plays before its first frame. `tail`'s mirror at the other end of the film — the same read/partial- update/reset/plan shape — but its asset rule runs the other way: `asset` must be a registered clip_id, never `card:name`. A cold open is real footage with real dialogue by definition; `tail` forbids that because `verify` would gain a permanent disagreement it can never resolve, and a head is taught to account for its own words instead (`verify`'s `head_words_trimmed`) rather than being restricted to silence. Call it with no arguments to read what is…

ParameterTypeDescription
assetstring | nullThe footage the cold open plays, as a registered clip id — never `card:name`. A cold open is real footage with real dialogue by definition, and `verify` accounts for its words rather than forbidding…
fade_innumber | nullSeconds of fade at the head. Unlike `tail`'s fade this is drawn, and it is the whole reason the feature exists — a hard butt-join between room tone and digital silence is exactly the seam a missing…
fade_outnumber | nullSeconds of fade where the cold open hands over to the film.
gain_dbnumber | nullA flat level shift for the cold open, in dB, distinct from the fades. 0.0 is unity.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
resetbooleanDrop the cold open entirely.
secondsnumber | nullHow long the cold open runs. Setting `asset` or `seconds` for the first time needs both together; either alone afterwards updates just that field.
src_startnumber | nullWhere inside that asset the cold open reads from, in source seconds. 0.0 on a first set.

tail

Read or change the finishing pass this project plays after its last frame. An end card or a bumper, applied by `export` itself rather than glued on afterward with ffmpeg — the fix for a defect that has already shipped: a finishing pass applied downstream of `export` is dropped by every derivation at exit 0, silently, because nothing in the project ever knew it existed (HISTORY.md § The bumper the teaser never had, § The end card). Call it with no arguments to read what is in force. `asset` must be `card:name`, never a clip_id — `verify` diffs a render's own transcription against the ti…

ParameterTypeDescription
assetstring | nullThe end card or bumper, as `card:name` — never a clip id. `verify` diffs the render's own transcription against the timeline's words, and a card behind silence adds none of its own, which a media cl…
fadenumber | nullSeconds the card dissolves in over the film's last frames, opaque on the tail's first frame — overlapping the film, never added to `seconds`. 0 cuts to the card hard.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
resetbooleanDrop the tail entirely. Note a derivation inherits none of it anyway and reports `tail_dropped`.
secondsnumber | nullThe tail's **whole** length, card included — not a hold with `fade` added on top of it.

music

Read or change the A2 music bed this project mixes under its edit. Call with no arguments to read what is in force. The bed stores word indices and an asset, never a length: it starts where `word_index_start` of `clip_id` (the VO transcript) lands on the timeline and runs to where `word_index_end` ends — or to the end of the edit — so a cut before either boundary moves both. Duration is derived at build time. On a recording with no words, `event`/`until_event` (and a passage's `event`) address its logged events instead. The first set needs `asset`, `clip_id` and a start (`word_index_star…

ParameterTypeDescription
afterintegerA forward cursor over the matches of `phrase_start`/`phrase_end`: any match at or before this word index is skipped. -1, the default, means from the start.
assetstring | nullThe bed's own music, as a registered clip id — never `card:name`, since a held frame has no sound. It plays from its own head; shorter than its span pads with real silence, longer is trimmed.
clear_duckbooleanReturn the bed to one level, with no ducking.
clear_endbooleanDrop the end word, returning the bed to running to the end of the edit.
clear_loudnessbooleanDrop the `loudness` level.
clear_underbooleanReturn every asset to its own level.
clip_idstring | nullThe clip whose words (or events) the bed addresses — the VO, not the music.
crossfadenumber | nullSeconds two pieces overlap by. A crossfade edge is equal-power rather than the straight dB line an ordinary fade draws — two straight fades crossing sum to a hole.
ducknumber | nullPull the bed this many dB down while the voice is speaking and let it back up in the pauses. It is keyed off the timeline's own audio at export rather than the transcript's word timings, which were me…
eventstring | nullStart the bed on this event of clip_id instead of a word: `name`, or `name#k` when the name repeats. Replaces a start word.
fade_innumber | nullSeconds of fade at the bed's start. The fades ride the bed's own entry, so a fade-out ends where the music audibly ends.
fade_outnumber | nullSeconds of fade at the bed's end. A fade pair the bed cannot hold refuses at build time rather than being clamped.
loudnessnumber | nullLevel the whole bed to this many LUFS, measured — for a film with no voice for `under` to sit below, such as a screen recording. Setting it drops `under`, and `under` drops it. The launch clip's app…
occurrenceinteger | nullDisambiguate `phrase_start`/`phrase_end` by count, **1-based**. Unset, an ambiguous phrase is refused rather than guessed at.
over_tailboolean | nullTrue runs a bed with no end boundary on under the tail's card, so the card is not silent and `fade_out` ends with it. False ends it with the edit, the default.
passagesarray | nullReplace the list of passages after the bed's own asset: each `{asset, word_index_start | phrase_start | event, src_in?, crossfade?, rotate?}`. `[]` clears them.
pathstring | nullThe 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 t…
phrase_endstring | nullSet the out-point by wording instead; it binds the phrase's last word. Each boundary is independent — one can be a phrase and the other an index.
phrase_startstring | nullSet the in-point by wording instead; it binds the phrase's first word. The resolved phrase is stored beside the index, so `cue_reresolve` can re-derive it after a re-record.
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
resetbooleanDrop the bed entirely.
rotatearray | nullFurther assets to play in turn as each one runs out, overlapping by `crossfade`. `[]` clears them.
src_innumber | nullWhere inside the bed's own asset it starts, in seconds.
undernumber | nullLevel the whole bed this many LU below the voice, measured. It is a fixed offset; `duck` is the moving one.
until_eventstring | nullEnd the bed on this event of clip_id. Replaces an end word; `clear_end` drops it.
word_index_endinteger | nullWhere the bed goes out. Unset means *to the end of the edit*, so a tail holds over silence unless `over_tail`.
word_index_startinteger | nullWhere the bed comes in, as a word of `clip_id`. The bed stores words and never a length, so a cut before either boundary moves it automatically.

vo_extend

Open a gap in `clip_id`'s track for material the recording never had. The one tool allowed to grow the edit rather than cut it: a real hold in the VO, e.g. to let a line the footage carries play under it. Not the end card (`tail`), and not `restore`, which only brings back cut source. Addressed by `word_index` **or** `phrase` — the last word *before* the gap, which must be on the timeline — for `seconds`. The stretch is a real silent WAV, registered like any clip; a second call at the same `seconds` reuses it. **Read `covered_by`.** `build_shots` runs each shot to the next cue, so whate…

ParameterTypeDescription
clip_id *stringThe track the gap opens in — the VO.
afterintegerA forward cursor over a phrase's matches: any match at or before this word index is skipped. -1, the default, means from the start.
occurrenceinteger | nullDisambiguate a phrase by count when it matches more than once, **1-based** in transcript order among the matches after `after`: 1 is the first, 2 the second. Unset, an ambiguous phrase is refused —…
pathstring | nullThe 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 t…
phrasestring | nullAddress it by wording instead. A phrase binds to its **last** word here, which is this tool's own meaning: the last word before the gap.
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
secondsnumber | nullHow long the hold runs. An editorial call this makes no attempt to derive.
word_indexinteger | nullThe last word **before** the gap; the hold opens immediately after that word's own end. It has to be on the timeline: an index naming cut material is refused rather than guessed at.

vo_synth

Say `text` in a cloned voice — render several seeds, rank them, read the winner back. Zero-shot Qwen3-TTS from a ≈19s reference clip (`voice`); there is no built-in voice. Seeds `seed .. seed+candidates-1` render in one process, each with `sim` (speaker-embedding likeness to the reference — a real take ≈0.99, a 3-semitone shift ≈0.96) and `spread` (voiced pitch movement). `chosen` is the best `sim` less a flatness penalty, since likeness alone keeps the flattest read. A render that hit `max_seconds` is `capped` and never wins while an uncapped one exists. The winner is read back th…

ParameterTypeDescription
text *stringWhat the voice says. It is respelled first through the project's `lexicon.json` `say` folds, if one exists — the fix for a mispronounced name.
candidatesintegerHow many seeds to render and rank. Seed moves a render more than the reference does, which is why this ranks rather than renders once.
clip_idstring | nullWith `word_index`, the track to splice the winner into. Omitted, nothing is spliced and the renders are just ranked.
flat_floornumberBelow this much voiced pitch movement (semitones) a render starts paying the flatness penalty. Likeness alone keeps the flattest read, because sims in one pool differ by thousandths while spread diffe…
flat_weightnumberHow much likeness to subtract per semitone of flatness under the floor. 0 restores likeness-only ranking.
lexiconstring | nullA `{"say": {…}, "hear": {…}}` file: `say` respells what the model is given, `hear` folds whisper's spelling back to the script's before the WER is scored. Defaults to the project's own `lexicon.js…
max_secondsnumberLength cap per render. One that hits it is reported `capped` and never wins while an uncapped one exists — a 21s reference once ran every render to 655s.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
readbackbooleanTranscribe the winner with whisper and report `heard`/`wer`. On by default: a clone that sounds right and says the wrong words is the failure nothing else sees. The numbers are a report, never a gate.
seedintegerFirst seed of the range; seeds `seed .. seed+candidates-1` render in one process. A new range renders only what the cache lacks.
voicestring | nullA directory holding `ref.wav` + `ref.txt`, the ≈19s reference the clone is zero-shot from. Unset, `$PROOFCUT_TTS_VOICE`. There is no built-in voice, and none ships in the repo: a voice is somebody's…
word_indexinteger | nullThe word to splice the winner in right after, through `vo_extend`'s own mechanism — so the same one-way consequences follow (melt routing, `restore` refusing across the seam).

hold_add

Splice a hold into `clip_id` after `gap_word_index`: a real gap opens in the VO (`vo_extend`'s own mechanism, reused) and a picture cue pins `asset`'s own in-point, snapped to whole words with margin and **refused, never clamped**, when it cannot fit. Addressed by `(clip_id, gap_word_index)`, unique — a second `hold_add` at the same address is refused. `gap_word_index`/`cue_word_index`/ `word_index_first`+`word_index_last` each also accept a phrase alternative: `gap_phrase` binds its **last** word (the gap opens right after it), `cue_phrase` binds its **first**, and `asset_phrase` resolves…

ParameterTypeDescription
clip_id *stringThe VO track the gap opens in.
afterintegerA forward cursor over the matches of `gap_phrase`/`cue_phrase`/`asset_phrase`: any match at or before this word index is skipped. -1, the default, means from the start.
assetstring | nullThe film clip whose own audio plays in the gap, and whose picture the cue pins.
asset_phrasestring | nullThe line to play, resolved against `asset`'s **own** transcript, binding its first and last words together. One phrase is the source of truth for both ends; hand-typed indices drift the moment a trans…
cue_phrasestring | nullAddress the cue by wording; it binds its **first** word.
cue_word_indexinteger | nullThe word the picture cue for `asset` is placed on.
fade_innumber | nullSeconds of fade as the held audio comes in. Re-settable.
fade_outnumber | nullSeconds of fade as it goes out. Re-settable.
gap_phrasestring | nullAddress the gap by wording; it binds its **last** word, since the gap opens right after it.
gap_word_indexinteger | nullThe word the gap opens right after. With `clip_id` it is the hold's address, and a second `hold_add` at the same address is refused.
head_marginnumber | nullSeconds kept before the line, so it does not start on the word. Re-settable on an already-spliced hold.
occurrenceinteger | nullDisambiguate `gap_phrase`/`cue_phrase`/`asset_phrase` by count, **1-based**. Unset, an ambiguous phrase is refused rather than guessed at.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
tail_marginnumber | nullSeconds kept after the line. Re-settable.
undernumber | nullHow far below the VO the held audio sits, in LU. Re-settable.
word_index_firstinteger | nullFirst word of the line to play, in **`asset`'s own** transcript — not the VO's.
word_index_lastinteger | nullLast word of that line. With `word_index_first` it is one-way once spliced: resizing means `hold_rm` then `hold_add`, or `undo`.

hold_rm

Drop a hold's record and its owned cue — the spliced silence stays. `vo_extend`'s own irreversibility, inherited: there is no clean "un-splice", only `proofcut undo`. After this the gap reverts to being an ordinary manufactured silence, a coherent pre-existing state rather than a broken one.

ParameterTypeDescription
clip_id *stringThe VO track the hold was spliced into.
gap_word_index *integerThe hold's address, with `clip_id`. The record and its owned cue go; the spliced silence stays, since there is no clean un-splice — only `undo`.
pathstring | nullThe 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 t…

hold_under

Play a film clip's own audio *under* a span of the VO, `under` LU below it (default 13) — no gap, unlike `hold_add`. The span is VO words (`word_index_start`/`word_index_end`, or `phrase_start`/`phrase_end`), and the audio reads from wherever the shot showing `asset` has got to at the span's first word, so `asset` must be on screen there — cue it first. A second call at the same `(clip_id, word_index_start)` replaces the entry; the music bed goes out across it. `plan` resolves without writing. Both boundary words are echoed with neighbours — check them.

ParameterTypeDescription
asset *stringThe film clip whose audio plays under the voice. It has to be on screen across the span — the audio reads from wherever the shot showing it has got to — so cue it first.
clip_id *stringThe VO track whose words the span is measured in.
afterintegerA forward cursor over the matches of `phrase_start`/`phrase_end`: any match at or before this word index is skipped. -1, the default, means from the start.
fade_innumber | nullSeconds of fade as the film audio comes in.
fade_outnumber | nullSeconds of fade as it goes out.
occurrenceinteger | nullDisambiguate `phrase_start`/`phrase_end` by count, **1-based**. Unset, an ambiguous phrase is refused rather than guessed at.
pathstring | nullThe 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 t…
phrase_endstring | nullSet the span's end by wording instead.
phrase_startstring | nullSet the span's start by wording instead.
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
undernumber | nullHow far below the VO the film audio sits, in LU. 13 by default.
word_index_endinteger | nullLast VO word of the span.
word_index_startinteger | nullFirst VO word of the span. With `clip_id` it is the entry's address; a second call at the same address replaces it.

hold_under_rm

Drop the film audio under the VO addressed by `(clip_id, word_index_start)`. The inverse of `hold_under`: that span plays the VO alone again, and the music bed — which a hold gates out — comes back across it. Refused when no entry sits at that address, so a second call says so rather than doing nothing quietly. The audio was a manifest entry, not a splice, so no word moves and `undo` restores it.

ParameterTypeDescription
clip_id *stringThe VO track the entry was addressed against.
word_index_start *integerThe span's first VO word — the entry's address, with `clip_id`.
pathstring | nullThe 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 t…

hold_ls

Every stored hold plus its live-resolved plan. A hold that cannot currently resolve is reported inline (`hold_error`), never raised. Each item also carries `cue_drift` — a check between the hold's own owned cue and what it would compute fresh right now, since nothing stops a plain `cue_rm`/`cue_add` on that exact word from an unrelated caller.

ParameterTypeDescription
pathstring | nullThe 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 t…

hold_check

Transcribe each hold's own span off `render` and check its seams. For each stored hold: the required phrase, transcribed off the render at the hold's live-resolved span, plus the level right at each edge against the quiet floor just after it — "still loud" (a word cut off) or a "noise-floor cliff" (a hard drop with nowhere graceful to land). **Report, never refuse** — a post-hoc listening check on a render that already exists, `verify`'s and `film_check`'s own stance.

ParameterTypeDescription
render *stringThe rendered file to listen to. Each hold's span is resolved live against the current edit and transcribed off this file.
pathstring | nullThe 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 t…

finish_check

Check a **delivered** file against this project's timeline — `verify`/`check_frames`/`check_black`/`film_check` for a file an external mix pass produced, not one of proofcut's own renders. `final` carries a cold open and/or holds concatenated on outside proofcut, so every position this reports is in `final`'s own absolute seconds. `prepend_seconds` defaults to this project's stored head length; `holds` defaults to its stored holds, resolved live and offset the same way — pass either explicitly (an empty `holds` list included) to check a file against a different set than what is currently…

ParameterTypeDescription
final *stringThe delivered file to check — one an external mix pass produced, not a proofcut render. Every position reported is in this file's own absolute seconds.
black_min_durationnumberShortest black run to report, in seconds.
clip_idstring | nullDiff against one transcript's expected words rather than all of them.
duration_tolerancenumberHow far `final`'s duration may sit from the timeline's own arithmetic before it is a fault, in seconds.
fpsnumber | nullThe frame grid the timeline's arithmetic is counted on. Defaults to the rate `export` would have picked.
holdsarray | nullThe holds to expect in `final`, resolved and offset the same way the stored ones are. Defaults to the project's own; pass a list (an empty one included) to check against a different set.
languagestring | nullForce a language code for the transcription.
overlapnumberHow far each window overlaps the one before, in seconds.
pathstring | nullThe 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 t…
pix_thnumberblackdetect's pixel threshold: how dark a pixel counts as black.
prepend_secondsnumber | nullHow much runs before the timeline's first frame in `final` — a cold open concatenated on outside proofcut. Defaults to the project's stored head length.
recheck_padnumberHow much to pad a dropped run when re-cutting it for its own transcription — the pass that separates a real miss from a false one at a window stitch.
transcript_pathstring | nullAn existing transcription of `final`, to diff again without re-transcribing.
windownumberLength of each transcription window, in seconds.
windowed_modelstring | nullThe whisper model for the windowed transcription of `final`. A deliberately small one is the default, since the windowed pass runs over twice the audio.

reel

Derive a new project at `dest` holding `[start, end)` of this timeline. `start`/`end` are render seconds naming the span to **keep** — the opposite direction from every other tool; the head and tail are cut through `cut_by_time`. Reach for this before setting a vertical `canvas` on a film: the canvas is project state, so pass the reel's shape here and it lands on the copy only. Media is linked, not copied. Descriptions and reframes carry over. Cues carry over only where the reel keeps their word — read `cues_dropped` **head-first**, since one pruned just outside the kept span opens the r…

ParameterTypeDescription
dest *stringWhere the derived project is created. It is a project selector too, not a file, so a bound server confines it to the same tree as `path` rather than letting a reel be written anywhere on disk.
end *numberWhere it ends, in those same render seconds. `start`/`end` name the span to **keep**, the opposite direction from every other tool here.
start *numberWhere the reel begins, in the seconds **an export plays at** — the same numbers `cut_by_time` takes, read off a watch.
canvasstring | nullThe shape to set on the derived project only, e.g. `1080x1920`. Setting it on the film instead is what deriving exists to avoid — a canvas is project state and would stay.
confirm_suspectbooleanGo ahead even though a boundary word claims a suspect duration. Read the echoed words first — a suspect duration usually means whisper hid a retake inside that word, so the edge is not where it read…
namestring | nullA name for the derived project. Unset, it is derived from `dest`.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

split

Cut this timeline into shorts, each a new project beside this one. For a footage dump: seed every recording (`seed_timeline` takes a list), clean it once (`cut_by_transcript`, `verify`), then split. Which shorts there are and where each starts is your reading of the transcripts. Each short is `reel` over its span, so everything `reel` reports comes back per short, and each also leaves out the recordings it does not use (`clips_dropped`). `overlaps` (two shorts sharing material) and `unassigned` (timeline spans no short holds — a take missed stays in the dump) are reported, never refused: r…

ParameterTypeDescription
shorts *arrayEvery short, in order: `{name, from, to}` where `from` is its first word and `to` its last, each `{clip_id, word_index}` or `{clip_id, phrase}` (plus `occurrence` for a repeated phrase); or `{name, st…
canvasstring | nullThe shape to set on every short, e.g. `1080x1920` — one delivery shape for the batch. The dump keeps its own.
confirm_suspectbooleanGo ahead even though a boundary word claims a suspect duration. Read the echoed words first — a suspect duration usually means whisper hid a retake inside that word, so the edge is not where it read…
intostring | nullThe directory the shorts are created in. Unset, the dump's own parent, so they sit beside it. A bound server takes no other.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

reframe

Read or set which part of each clip survives into the frame. What makes a swapped canvas fill the frame instead of pillarboxing it. The default is a centre crop, which is **wrong whenever the subject is not centred**. Call with no `clip_id` to read the crops in force for every clip; `clips[].windows` is each clip's whole series. A `rect` is a floor rather than a frame: grown to the canvas's shape, never shrunk into it, stored as asked and refit whenever the canvas moves; the reply gives both `asked` and the `crop` it became. `src_start` makes it a per-**shot** window, addressed on the source…

ParameterTypeDescription
clip_idstring | nullThe clip to read or frame. Omit it to read the crops in force for every clip, including how much of each is kept.
easestring | nullThe curve of this window's slide: linear, ease (slow at both ends), ease-in or ease-out. Implies `interp`. The slide runs across the whole previous window, so to move between two moments put a window…
eventstring | nullStart this window at a named instant from `events` (`name` or `name#k`) instead of `src_start`. The seconds it resolves to are stored; the listing says `event_moved` if the event later moves.
fillstring | null`blur` draws this window **blur-filled**: the whole source contained in the frame, over a blurred, darkened copy of the same moment covering the canvas. For a shot every crop loses something from and…
interpbooleanSlide into this window from whatever governed before it instead of stepping to it. It needs `src_start` past 0 — there is nothing before the head of the source to slide from — and cannot be combin…
panestring | nullA second rect making this window a **stacked split**: `rect` on top, `pane` below, each about twice the width one 9:16 window gets. For the shot one window cannot frame. Both are grown to the full sou…
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
rectstring | null`X,Y,W,H` in that clip's **own source pixels** — the region kept. An override is a floor rather than a frame: a rect that is not the canvas's shape is grown to it, so nothing named is pushed off scr…
resetbooleanWith `clip_id`, drop that clip's overrides; with `src_start` as well, only the window there. Alone, drop every override.
src_startnumber | nullFrame a **shot** rather than a clip: seconds into that clip's own source, the rect holding from there until the next window. Because the address is the source's own clock, a clip used seven times pick…

reframe_detect

Propose a framing window per camera shot, from where the faces are. Every placement is split at its camera cuts, each window sampled at a few moments and centred on the faces found. Against fifteen hand-framed, approved windows it beats the centre crop on every measure (0.755 mean overlap against 0.568). **It proposes; it does not frame.** `apply` is off by default: the pass is still about a quarter of a window's width out on average, and a wrong window reads as framing in motion. Look at `reframe_sheet` before applying. Applying writes through `reframe` and never over an existing override.…

ParameterTypeDescription
applybooleanWrite the proposals through `reframe`. Off by default — the opposite of `cut --plan` — because the pass runs 24% of a window's width out on average. Call `reframe_sheet` and look first. It never w…
clip_idstring | nullPropose windows for one clip. Omit it for every placed clip.
framesintegerHow many moments to sample inside each window before centring it on the faces found there.
pathstring | nullThe 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 t…
splitbooleanOffer a stacked split where every sampled frame holds two or three faces one window cannot hold. On by default; `false` turns the offer off.
thresholdnumberHow strong a scene change has to be to count as a camera cut, 0–1. 0.15 is pinned by judging detections on real footage: every candidate from 0.141 to 0.244 was a real cut, and the first non-cut is…

reframe_coverage

Which placed seconds are framed by a window chosen for an earlier shot. **The question `reframe_detect` cannot answer**: that one is about a proposal, this is about the project on disk. A refused proposal writes nothing, so a stretch can sit under a rect chosen for a shot that ended long before — 13.6s of one clip across four camera setups on the film, with the manifest, `status` and `reframe_sheet` all clean. Every placement is walked against its source's scene cuts. A cut with no window boundary within a frame of it opens a stale stretch. Read `stale_seconds` — an **override** held acr…

ParameterTypeDescription
clip_idstring | nullWalk one clip's placements. Omit it for the whole project.
pathstring | nullThe 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 t…
thresholdnumberHow strong a scene change has to be to **demand** a window. Boundaries are scored against every detected cut rather than only these, since a cut too weak to demand a window still explains one.

continuity_check

Rewinds, replays, short shots, and film-internal-cut stubs — reports, never decides. **Rewind**: a shot lands behind where its own asset last left off, with under `gap` seconds of timeline since. **Replay**: an earlier shot's source range is re-shown, `gap` seconds or more later — reported, never refused, because a deliberate narrative rhyme and a mistake look identical from the cue table alone. **short_shot**: under `min_shot` seconds (stills excluded). **stub**: a shot ends or begins right where its own footage has a real internal cut — likely a fragment rather than the shot itself.…

ParameterTypeDescription
gapnumberHow much timeline may pass before re-showing an asset reads as a replay rather than a rewind, in seconds.
min_shotnumberShortest a shot may run before it is reported as a short shot, in seconds. Stills are excluded.
pathstring | nullThe 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 t…
scene_thresholdnumberThe scene-cut threshold for the stub scan. It defaults to the pinned 0.15, but darker footage from a different film has needed 0.12.
stub_tolerancenumberHow close a shot edge has to sit to its footage's own internal cut to be called a stub, in seconds.
stubsbooleanLook for stubs. On by default, and it costs a scene-cut decode per distinct asset placed — `false` skips that.

continuity_accept

Acknowledge one continuity finding once — a deliberate rhyme, never re-reported every run. Addressed the way a cue is (`clip_id`, `word_index`), plus `kind`, since one shot can carry more than one finding. Stores a fingerprint of the finding's own numbers; a later run whose recomputed fingerprint disagrees means the shot moved under the mark, and the finding is reported again rather than trusted blindly. Refuses when no finding of `kind` currently sits at that cue — `continuity_check` first, then accept what it found.

ParameterTypeDescription
clip_id *stringThe cue's own addressing transcript, as `continuity_check` reports it.
kind *stringWhich finding to acknowledge: `rewind`, `replay`, `short_shot` or `stub`.
word_index *integerThe cue's word. With `clip_id` and `kind` it is the finding's address — one shot can carry more than one finding.
pathstring | nullThe 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 t…

continuity_reject

Unmark a continuity finding, putting it back into `continuity_check`. The inverse of `continuity_accept`: the acknowledgement is dropped from the manifest, so every later run reports that finding again instead of passing over it. Addressed exactly as it was accepted (`clip_id`, `word_index`, `kind`), and refused when no accepted finding of that kind sits there — so a second call says so rather than quietly doing nothing. Nothing on the timeline moves either way; an acknowledgement is a manifest entry, and `undo` puts it back.

ParameterTypeDescription
clip_id *stringThe cue's own addressing transcript.
kind *stringWhich finding to un-acknowledge: `rewind`, `replay`, `short_shot` or `stub`.
word_index *integerThe cue's word, with `clip_id` and `kind` the address the acknowledgement was stored under.
pathstring | nullThe 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 t…

continuity_ls

Every accepted continuity finding, with whether it is still live and whether it still matches what was accepted (`stale`). A finding that has disappeared entirely — the shot was re-cued away, or the issue was fixed — reports `still_found: False` rather than `stale`, since there is nothing live left to disagree with the mark.

ParameterTypeDescription
pathstring | nullThe 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 t…

reframe_sheet

Draw every placement's framing window on its own source frames. **A framing decision is unreviewable without this.** The hand-framed teaser had 2 of its 15 windows wrong and neither was visible in motion — a badly-placed window reads as framing. Drawn on the whole source frame, what the window leaves out sits right beside it. Every placement the render shows is walked window by window, the window in force drawn in red and labelled with its rect. **A row is a window shown, not a placement**: each placement is split at the boundaries it crosses, so a window covering a small slice of a long p…

ParameterTypeDescription
extremesbooleanDraw the subject's own leftmost and rightmost moments, worst first, instead of fixed fractions — the rect does not move inside a stretch, so that is where a static window is worst. Off by default: i…
momentsarray | nullFractions of each window to draw tiles at, e.g. `[0.1, 0.5, 0.9]`. A tile is evidence about one instant while a rect is a claim about a stretch, so where the subject moves these decide what the sheet…
outstring | nullWrite the image to this path as well, replacing whatever file is there. Unset, it goes to the project's own sheet cache and only the bytes come back.
pageintegerWhich page of rows to draw, from 1. Unset, the first.
pathstring | nullThe 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 t…
per_pageinteger | nullRows per page. `null` draws the whole project in one montage, which returns a path rather than readable bytes — for a person to open, not for an agent to read.

shot_sheet

Look at the picture track — one labelled tile per shot, as an image. **This is the tool to call to see what the film looks like** — the picture track of the edit as it stands. Its neighbours answer different questions with the same kind of picture: `footage_sheet` browses one registered clip's own material, `contact_sheet` looks at a clip's first ten seconds, and `reframe_sheet` reviews framing windows a page at a time. All four hand the bytes back, because an agent confined to proofcut's tools (the agent panel's `--tools ToolSearch`) can open no path at all. One tile per shot, at the ex…

ParameterTypeDescription
outstring | nullWrite the image to this path as well, replacing whatever file is there. Unset, it goes to the project's own sheet cache and only the bytes come back.
pageintegerWhich page of rows to draw, from 1. Unset, the first.
pathstring | nullThe 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 t…
per_pageintegerRows per page. `null` draws the whole project in one montage, which returns a path rather than readable bytes — for a person to open, not for an agent to read.

footage_sheet

Look at a clip's own footage — one labelled tile per moment, as an image. **The tool to see what is *in* some footage**, as opposed to `shot_sheet`, which shows an existing edit's picture track. It needs no edit, cues or transcript, so it is the first look at b-roll, recordings and gameplay — material `describe` can search by text but cannot show. The bytes come back in the reply. `mode` picks the instants: `auto` (described windows if the clip has any, else the interval), `interval`, `describe` (each tile beside its window's sentence), or `scenes` (one per detected cut — opt-in, since…

ParameterTypeDescription
clip_id *stringThe registered clip to browse. This sheet reads the clip's **own source**, so it needs no edit, no cues and no transcript.
intervalnumberSeconds between tiles when drawing by interval (`interval`, or `auto` on a clip with no descriptions). It is `describe`'s own window length, so a tile lines up with a description.
modestringWhich instants to draw: `auto` (the default) uses the clip's described windows if it has any and the interval otherwise, and never scans; `interval` draws every `interval` seconds; `describe` draws on…
outstring | nullWrite the image to this path as well, replacing whatever file is there. Unset, it goes to the project's own sheet cache and only the bytes come back.
pageintegerWhich page of rows to draw, from 1. Unset, the first.
pathstring | nullThe 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 t…
per_pageintegerRows per page. `null` draws the whole project in one montage, which returns a path rather than readable bytes — for a person to open, not for an agent to read.

thumbnail

One filmstrip frame for `clip_id`, at the source time nearest `at`. `at` snaps to a multiple of `interval` before anything is extracted, and the frame is cached under `cache/thumbs/` keyed by the clip's media size and mtime — a repeated ask for a nearby instant is a cache hit. The result is a path, not the image bytes; `proofcut web` serves those over `/api/thumb/<clip_id>?at=`. It never enters the manifest, so nothing that renders can reach it (the same wall the preview proxy has).

ParameterTypeDescription
at *numberSource seconds to pull the frame at. It snaps to a multiple of `interval` first, so a repeated ask for a nearby instant is a cache hit.
clip_id *stringThe clip to pull a frame from.
intervalnumberThe grid `at` snaps to, in seconds.
pathstring | nullThe 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 t…

contact_sheet

Look at a clip's own head — the first look, as an image. **The sheet to call before cueing anything to a clip you have not seen.** Two shots of the film were cued to a clip's own head and got 4.5s of "BASED ON THE NOVEL BY THOMAS HARRIS" over black, because nobody had looked at its first seconds. Ten seconds at 1.5s spacing by default, each tile labelled with the source second it is. The frames come from `thumbnail()`'s cache — no new cache location, no new manifest key, no new web route — and the montage of them comes back here as bytes, since an agent confined to proofcut's tools (th…

ParameterTypeDescription
clip_id *stringThe clip whose head to look at.
intervalnumberSeconds between tiles.
pathstring | nullThe 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 t…
secondsnumberHow much of the head to cover, in seconds. Ten by default — long enough to catch credits, black or a slate before anything is cued to the clip.

synopsis

Read, set or clear what a clip *is* — the corpus b-roll gets chosen from. No `clip_id` lists every clip's synopsis and which are missing one; `clip_id` alone reads one; `text` writes; `clear` removes. A synopsis is a different fact from a `describe` window. A description says what is in front of the camera — rooms, clothing, lighting. A synopsis says what the footage is: the work, the scene, the people, and whatever else decides whether it belongs under a sentence. It is meant to carry what no camera can see, because that is where the signal turned out to be — measured on real footage,…

ParameterTypeDescription
clearbooleanRemove this clip's synopsis.
clip_idstring | nullThe clip to read or write. Omit it to list every clip's synopsis and which are missing one.
pathstring | nullThe 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 t…
textstring | nullWhat this footage **is** — the work, the scene, the people. A different fact from a `describe` window, which says what is in front of the camera. Write it yourself: nothing generates one, because a…

events

Named instants in a recording — the anchors a screen recording has instead of words. An event is `(name, seconds into the clip's own recording)`: `sent`, `typing_started`, a keystroke. No `clip_id` counts every clip's; `clip_id` alone lists one clip's, each with the `address` other tools take (`name`, or `name#k` when the name repeats, k from 0); `event` resolves one address and echoes three neighbours either side. `source` imports a recorder's JSON and REPLACES the clip's events of the names it brings (other names are kept), so a repeat import is a no-op and a marks file and a keystroke f…

ParameterTypeDescription
atnumber | nullSeconds into the recording for the one event being added.
clearbooleanRemove every event on this clip.
clip_idstring | nullThe clip whose events to read or write. Omit it to count every clip's.
eventstring | nullResolve one address — `name`, or `name#k` when the name repeats — and echo it with its neighbours, writing nothing.
namestring | nullWith `at`, the event to add. With a bare-list `source`, what those times are. One token, no '#'.
offsetnumberSeconds subtracted from every imported time, after `origin`.
originstring | nullA key in the imported object holding the recording's zero, subtracted from every time — a recorder's clock is usually the wall clock.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
removestring | nullDrop one event by address (`name` or `name#k`).
sourcestring | nullA recorder's event file to import: a JSON object of name → seconds (or → a list of seconds), or a bare list of seconds with `name`. Replaces this clip's events of the names the file brings; other…
timenumber | nullSeconds into the edit for the one event being added, instead of `at`: the clip and source instant are whatever plays there.

overlay_add

Draw a transparent card, an animated graphic or a still over the film — a lower third, a graphic, a sticker. Make the card first with card_new from `lowerthird` (a headline and an optional footnote, bottom left) or `scrim` (a dark gradient for type to sit on). The span starts at a word, phrase or event of `clip_id` and ends at a word, phrase, event or length; it is resolved through the timeline on every build and never stored as seconds, so cuts move it, and a cut through its start word makes export refuse until it is moved. The stack is list order: a later overlay draws over an earlier on…

ParameterTypeDescription
clip_id *stringThe clip whose words or events address the span — the transcript the word indices index, or the recording the events belong to.
afterintegerA forward cursor over a phrase's matches: any match at or before this word index is skipped. -1, the default, means from the start.
cardstring | nullThe overlay card to place: one made by card_new from an overlay template (`lowerthird`, `scrim`), by name or as `card:NAME`. An ordinary card is opaque and is refused. One of card, graphic or image; e…
enterstring | nullHow it appears: `rise` (moves up while fading in), `fade`, `pop` (scales up past full size and settles), `slide-left`/`slide-right`/`slide-top`/`slide-bottom` (in from that edge), or `none` (a cut). D…
enter_easestring | nullThe entrance's curve: linear, ease, ease-in or ease-out. Default ease-out.
enter_secondsnumber | nullHow long the entrance takes. Default 0.45.
eventstring | nullStart on this event of clip_id: `name`, or `name#k` when the name repeats.
graphicstring | nullAn animated graphic (graphic_new) to place instead of a card. Its intro plays from the start, its outro ends at the end, and its hold fills the span between; a span shorter than intro plus outro is re…
imagestring | nullA still (image_add) to place as a sticker, instead of a card or graphic. It pops in and fades out unless enter/leave say otherwise.
leavestring | nullHow it goes: `fade`, `rise` (moves down while fading out), `pop`, a `slide-` out to that edge, or `none`. Default fade for a card or image, none for a graphic.
leave_easestring | nullThe exit's curve: linear, ease, ease-in or ease-out. Default ease-in.
leave_secondsnumber | nullHow long the exit takes. Default 0.3.
occurrenceinteger | nullDisambiguate a phrase by count when it matches more than once, **1-based** in transcript order among the matches after `after`: 1 is the first, 2 the second. Unset, an ambiguous phrase is refused —…
pathstring | nullThe 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 t…
phrasestring | nullStart on this phrase's FIRST word, resolved against clip_id's transcript.
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
positioninteger | nullWhere in the stack it goes: 0 is the bottom, omitted is the top. A later overlay draws over an earlier one it overlaps, so a scrim goes before its type.
rotatenumber | nullDegrees to turn a sticker, clockwise; negative turns it the other way.
secondsnumber | nullEnd this long after the start. A length, so a cut inside the span does not shorten it.
stylestring | null`plain`, or `photo`: a white border and a soft shadow, a photo card.
until_eventstring | nullEnd on this event of clip_id.
until_phrasestring | nullEnd as this phrase's LAST word ends.
until_word_indexinteger | nullEnd as this word ends. One of until_word_index, until_phrase, until_event or seconds.
widthnumber | nullA sticker's width, as a fraction of the frame's width. Default 0.3.
word_indexinteger | nullThe word the overlay starts on. One of word_index, phrase or event.
xnumber | nullA sticker's centre across the frame: 0 is the left edge, 1 the right. Default 0.5.
ynumber | nullA sticker's centre down the frame: 0 is the top, 1 the bottom. Default 0.5.

overlay_ls

Every overlay, bottom of the stack first, with where each plays now. Each carries its `position` (as overlay_rm takes it), its lane, and its timeline span. A stack that cannot resolve — a cut removed a start word — comes back as `overlays_error` beside the stored records, so the one to move or remove can still be found.

ParameterTypeDescription
pathstring | nullThe 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 t…

overlay_rm

Take one overlay off the film, by its position in overlay_ls. The card stays under assets/cards/, so it can be placed again. Positions above the removed one move down by one.

ParameterTypeDescription
position *integerThe overlay to remove, by its position in overlay_ls (0 is the bottom).
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

inset_add

Draw a clip into a rectangle of the recording, following its camera — a render inside the app's preview. `rect` is where the recording shows what the inset replaces, in the recording's own pixels, and must be the clip's shape. The inset moves and zooms with the recording's reframe windows, so a push into the preview fills the frame with the clip itself, at full sharpness. The span starts at a word, phrase or event of `clip_id` and ends at one, at a length, or at the clip's end; it plays at 1x and must lie inside one continuous, 1x stretch of the recording (no cut, no retimed span under it).…

ParameterTypeDescription
asset *stringThe clip to draw, by clip_id: the render an agent made, in a launch clip. Needs picture.
clip_id *stringThe recording the inset is drawn into — its camera (reframe windows) is what the inset follows, and its words or events address the span.
rect *array[x0, y0, x1, y1] in the recording's OWN pixels: where the recording shows the thing the inset replaces (a preview pane). Must be the asset's shape, within 1%.
afterintegerA forward cursor over a phrase's matches: any match at or before this word index is skipped. -1, the default, means from the start.
dimnumberDarken the recording around the inset, 0 (none, the default) to 1 (black); 0.55 reads well.
enterstring | nullHow it appears: `fade` or `none` (a cut). Default fade.
enter_easestring | nullThe fade's curve: linear, ease, ease-in or ease-out. Default ease.
enter_secondsnumber | nullHow long the fade in takes. Default 0.4.
eventstring | nullStart on this event of clip_id: `name`, or `name#k` when the name repeats. Usually the moment the recording's own preview starts playing, which locks the two.
gain_dbnumber | nullThe asset's own audio level in dB. Default 0. The music bed goes out under it, or dips under it when the bed has a duck.
leavestring | nullHow it goes: `fade` or `none`. Default fade.
leave_easestring | nullThe fade's curve: linear, ease, ease-in or ease-out. Default ease.
leave_secondsnumber | nullHow long the fade out takes. Default 0.4.
levelstring | null'speech' measures the span the inset plays, once, and records the gain_db that brings its speech to -18 dBFS RMS, the launch clip's film level. Not with gain_db.
mutebooleanPlay none of the asset's audio (and leave the bed alone).
occurrenceinteger | nullDisambiguate a phrase by count when it matches more than once, **1-based** in transcript order among the matches after `after`: 1 is the first, 2 the second. Unset, an ambiguous phrase is refused —…
pathstring | nullThe 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 t…
phrasestring | nullStart on this phrase's FIRST word, resolved against clip_id's transcript.
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
positioninteger | nullWhere in the stack it goes: 0 is the bottom, omitted is the top.
secondsnumber | nullEnd this long after the start.
src_innumberSeconds into the asset the inset starts from. Default 0.
until_eventstring | nullEnd on this event of clip_id.
until_phrasestring | nullEnd as this phrase's LAST word ends.
until_word_indexinteger | nullEnd as this word ends. At most one of until_word_index, until_phrase, until_event or seconds; none runs to the asset's end.
word_indexinteger | nullThe word the inset starts on. One of word_index, phrase or event.

inset_ls

Every inset, bottom of the stack first, with where each plays and where its rect lands. Each carries its `position` (as inset_rm takes it). Insets that cannot resolve — a cut removed a start word — come back as `insets_error` beside the stored records, so the one to move or remove can still be found.

ParameterTypeDescription
pathstring | nullThe 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 t…

inset_rm

Take one inset off the recording, by its position in inset_ls. The clip stays registered. Positions above the removed one move down by one.

ParameterTypeDescription
position *integerThe inset to remove, by its position in inset_ls.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

follow

Put a second recording on the timeline after the first, cut or dissolved. The window's recording, then the terminal's: `clip_id` plays its span spliced in after `after`, and everything after moves later. Words, events, retime stretches and reframe windows of either clip keep their meaning, so the incoming clip is retimed and framed like any other. `dissolve` seconds crossfade into it from its own frames before the in-point; the film is no longer for it. The reply gives the join and the dissolve; `plan=true` writes nothing, and `undo` takes the splice back.

ParameterTypeDescription
after *stringThe clip on the timeline it follows — the first recording.
clip_id *stringThe incoming recording, a registered clip with picture.
at_eventstring | nullSplice in after this event of `after` (name or name#k). Omitted: after the last of `after` the timeline plays.
dissolvenumberSeconds of crossfade into it; 0, the default, is a cut. Drawn from clip_id's own frames before its in-point, so it needs that much of the file before the start, and the film is no longer for it.
easestringThe crossfade's curve: linear (the default), ease, ease-in or ease-out.
from_eventstring | nullStart at this event of clip_id instead of src_start.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
src_endnumber | nullSeconds into clip_id where it ends. Default its end. Not with until_event.
src_startnumber | nullSeconds into clip_id where it starts. Default its head. Not with from_event.
until_eventstring | nullEnd at this event of clip_id instead of src_end.

dissolve

Set, change or clear the crossfade at a join `follow` made. Addressed by the incoming clip and where it starts there, never a timeline second, so a cut elsewhere moves it. `seconds=0` makes the join a cut again. Checked against the timeline before writing; `plan=true` writes nothing.

ParameterTypeDescription
clip_id *stringThe incoming clip of a join `follow` made.
seconds *numberSeconds of crossfade; 0 clears it back to a cut.
src_start *numberWhere clip_id starts at that join, in its own seconds (follow's reply says).
easestringThe crossfade's curve: linear (the default), ease, ease-in or ease-out.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

retime_add

Play a span of the film faster or slower: "from event sent to event words in 1.0 s". The span starts at a word, phrase or event of `clip_id` and ends at one; it is resolved through the timeline on every build, never stored as seconds. Everything outside every stretch plays at 1x, with the speed eased in and out over half a second either side. The film's own audio is muted wherever it plays off speed; music, sounds, overlays and captions keep 1x and land where the retime puts their moment. Stretches may not overlap. The reply gives the span in Edit seconds and render seconds, its speed, and t…

ParameterTypeDescription
clip_id *stringThe clip whose words or events address the span — the transcript the word indices index, or the recording the events belong to.
seconds *numberHow long the span plays for in the render. Shorter than the span speeds it up (a 31 s wait in 1.0), longer slows it down.
afterintegerA forward cursor over a phrase's matches: any match at or before this word index is skipped. -1, the default, means from the start.
eventstring | nullStart on this event of clip_id: `name`, or `name#k` when the name repeats.
occurrenceinteger | nullDisambiguate a phrase by count when it matches more than once, **1-based** in transcript order among the matches after `after`: 1 is the first, 2 the second. Unset, an ambiguous phrase is refused —…
pathstring | nullThe 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 t…
phrasestring | nullStart on this phrase's FIRST word, resolved against clip_id's transcript.
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
until_eventstring | nullEnd on this event of clip_id.
until_phrasestring | nullEnd as this phrase's LAST word ends.
until_word_indexinteger | nullEnd as this word ends. One of until_word_index, until_phrase or until_event.
word_indexinteger | nullThe word the stretch starts on. One of word_index, phrase or event.

retime_ls

Every retime stretch, in the order added, with where each plays now. Each carries its `position` (as retime_rm takes it), its Edit and render spans and its speed, beside the render's length. A retime that cannot resolve — a cut removed an end word — comes back as `retime_error` beside the stored records.

ParameterTypeDescription
pathstring | nullThe 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 t…

retime_rm

Take one stretch away, by its position in retime_ls; that span plays at 1x again.

ParameterTypeDescription
position *integerThe stretch to remove, by its position in retime_ls; that span plays at 1x again.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

sound_add

Play a one-shot sound at a word, an event, or every event of one name. Import the sound first (import_media), or call sound_generate for a ready UI set: eight key ticks, send, land, strike. `every="key"` puts a tick on each keystroke event; pass all eight keys as `assets` so the run does not repeat one sample, and a `jitter_db` of 2-3 to vary them. Hits land to the millisecond, between frames, and are resolved through the timeline on every build: a cut moves them, an `every` hit a cut removed is skipped, and a single hit whose word or event is cut makes export refuse until it is moved. The pi…

ParameterTypeDescription
assets *arrayThe imported clips to play, by clip_id. With several, each hit draws one, so a typed run does not repeat one sample. sound_generate registers a ready set (sfx-*).
clip_id *stringThe clip whose words or events say where — the transcript the word index indexes, or the recording the events belong to.
afterintegerA forward cursor over a phrase's matches: any match at or before this word index is skipped. -1, the default, means from the start.
ducksbooleanThe music bed's duck hears this sound as it hears the voice: set it for a narrator take or a line of dialogue placed as a sound, never for clicks. Only matters when the bed has a duck.
eventstring | nullPlay at this event of clip_id: `name`, or `name#k` when the name repeats.
everystring | nullPlay at every event of clip_id with this name (e.g. every keystroke). Events a cut removed are skipped and counted.
gain_dbnumberThe level in dB; 0 plays the file as it is. The generated set peaks at -3 dBFS.
jitter_dbnumberVary each hit's level by up to this many dB either way. Default 0.
min_gapnumber | nullWith every: drop a hit closer than this many seconds to the last one kept. Default 0.045.
occurrenceinteger | nullDisambiguate a phrase by count when it matches more than once, **1-based** in transcript order among the matches after `after`: 1 is the first, 2 the second. Unset, an ambiguous phrase is refused —…
pathstring | nullThe 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 t…
phrasestring | nullPlay as this phrase's FIRST word starts, resolved against clip_id's transcript.
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
src_innumber | nullSeconds into each asset where the sound starts. With src_out, plays one line of a long take, and the 30 s cap is on the trimmed part.
src_outnumber | nullSeconds into each asset where the sound stops. Unset plays to the file's end.
word_indexinteger | nullPlay as this word starts. One of word_index, phrase, event or every.

sound_ls

Every sound record, with how many hits each places now. Each carries its `position` (as sound_rm takes it), `hit_count`, how many occurrences were `skipped` (cut) and `thinned` (too close), and its first hits. Records that cannot resolve come back as `sounds_error` beside the stored records.

ParameterTypeDescription
pathstring | nullThe 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 t…

sound_rm

Take one sound record off the film, by its position in sound_ls. The clip stays registered. Positions above the removed one move down.

ParameterTypeDescription
position *integerThe sound record to remove, by its position in sound_ls.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

sound_generate

Write proofcut's generated UI sounds into the project and import them. Registers `sfx-key_0` … `sfx-key_7` (soft key ticks), `sfx-send` (a click), `sfx-land` (a thump and chime, for a result arriving) and `sfx-strike` (a falling swipe), synthesised, under assets/sounds/. Ids already registered are left alone. Use them with sound_add.

ParameterTypeDescription
pathstring | nullThe 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 t…

broll_brief

The whole b-roll question as data: what there is, and what it goes under. Returns the footage catalogue with each clip's `synopsis` and duration, then every shot position on the timeline with the narration that plays over it, how long it is held, and what is currently there. `card: true` positions are shown for rhythm and are not choices. This is the half proofcut can do. Choosing is the other half, and it belongs to you: read the brief, decide which clip goes under which sentence, and write the answers back with `cue_add`, where the picture plan checks each one. Ranking the catalogue by tex…

ParameterTypeDescription
fpsnumber | nullThe frame grid the shot positions are projected on. Defaults to the rate `export` would use.
pathstring | nullThe 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 t…

verify

Transcribe a finished render and diff it against what the timeline says. Run this after rendering, before calling an edit done. It transcribes the render with whisper and compares that word sequence to the one the timeline should play, which is the only check that catches a retake still in the picture: whisper collapses an immediate repeat into a single utterance, so a doubled phrase can be invisible in the source transcript and still be in the render. Read `repeated` first — an entry there is a phrase the render plays more times than the timeline expects, i.e. a surviving retake, with the…

ParameterTypeDescription
render *stringThe finished render to transcribe and diff against the timeline. The expected words include a sound's or an inset's own when its clip has a transcript (`placed_audio`) — a narrator take placed as a…
clip_idstring | nullDiff against one transcript's expected words rather than all of them.
languagestring | nullForce a language code for it.
modelstring | nullThe whisper model for the single-pass transcription.
overlapnumberHow far each window overlaps the one before, in seconds.
pathstring | nullThe 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 t…
transcript_pathstring | nullAn existing transcription of `render` — what a previous run cached and reported as `heard_transcript`. Pass it back to re-diff without spending the minutes again.
windownumberLength of each window in the windowed pass, in seconds.
windowedbooleanTranscribe in short overlapping windows instead of one pass. **A clean single-pass result is not proof** — one pass collapses an immediate repeat the same way the source transcript did, and three su…

check_frames

Check an export's frame count against what the timeline says it should be. The picture-side counterpart to `verify`, which covers only the audio. Run this on the exported NLE project **before** rendering — that is where it is worth the most, because the count settles whether the cut positions are right for the price of reading a document rather than encoding one. `target` is an NLE project (.kdenlive/.mlt/.xml, put to `melt -consumer xml`) or a finished render (counted with ffprobe). Omit it to just report `expected_frames`, the total the timeline lays down. Read `agrees` first, then `del…

ParameterTypeDescription
fpsnumber | nullThe rate the export ran at. It has to match, or the two sides are counting on different grids; it defaults to the rate `export` would have picked.
pathstring | nullThe 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 t…
targetstring | nullAn NLE project (`.kdenlive`/`.mlt`/`.xml`) or a finished render. Omit it to just report `expected_frames`, the total the timeline lays down. Run it on the **exported project before rendering** — tha…

film_check

Compare this project against the export it is supposed to be. check_frames answers whether an export agrees with *this project's own* arithmetic; it cannot catch this project being the wrong film to begin with — a project can pass every check it has and still be seeded from a stale stage of an outside edit (HISTORY.md § The VO the project was holding: 73 segments/410.963s sat in a project whose shipped film was 63 segments/336.269s, with the render, verify, the cue table and the shot plan all agreeing with the wrong one). This checks the project's `timeline_duration` against a reference fi…

ParameterTypeDescription
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.
referencestring | nullThe delivered file this project is supposed to be. It is remembered, so a later call with no argument re-asks the same question against the same file.
resetbooleanDrop the stored reference.

import_edit

Lay a cut made in Kdenlive down as this project's timeline. The supported way to bring an outside edit in. `seed_timeline` lays a clip down and lets auto-editor find the cuts; this takes a `.kdenlive` (or `.mlt`) playlist somebody already trimmed by hand and reads its surviving ranges into the timeline. It replaces the whole timeline, and the previous one is snapshotted first, so it is undoable like any other mutation — which is the part the hand-rolled version of this never had (HISTORY.md § The VO the project was holding: 63 ranges were parsed out of a `.kdenlive` and written straight to…

ParameterTypeDescription
document *stringThe `.kdenlive` or `.mlt` playlist somebody already trimmed by hand. Every clip it references has to be registered already; ones that do not match a registered clip by resolved path are named rather t…
clip_idstring | nullThe registered clip to attribute a single-source document to, when its media sits at a path this project does not know.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

check_black

Scan a render for black stretches, and say whether each is the known kdenlive-export tail frame (picture.KNOWN_TAIL_FRAME) or a genuine defect. `target` is required — unlike check_frames, there is no cheap no-target mode; there is nothing to detect black in without a render. A run is only ever explained when it sits at the tail *and* the frame delta against the timeline matches the known defect exactly; a black run inside the declared picture is always reported as a real defect.

ParameterTypeDescription
target *stringThe render to scan. Required — unlike `check_frames` there is no cheap no-target mode, since there is nothing to detect black in without a render.
fpsnumber | nullThe rate the timeline's own frame arithmetic is counted on.
min_durationnumber | nullShortest black run to report, in seconds.
pathstring | nullThe 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 t…
pix_thnumberHow dark a pixel counts as black, 0–1.

spot_frames

Pull `count` evenly-spaced frames (plus any explicit `times`) from a render as PNGs with signalstats luma, ranked darkest-first. When `target`'s own probed duration still matches the current timeline within a frame (`mapping_trusted`), each frame also reports which clip/word it lands near via `Edit.source_at` — refused, not guessed, when the render looks stale. Like `shot_sheet`/`footage_sheet`/`contact_sheet`, the reply also carries a montage of the sampled frames as an image — `frames[].png` is a path, and an agent confined to proofcut's tools (the agent panel's `--tools ToolSearch`) h…

ParameterTypeDescription
target *stringThe render to pull frames from.
countintegerHow many evenly-spaced frames to pull. They come back ranked darkest-first, with a montage of them as an image.
fpsnumber | nullThe rate used to map a frame back to the clip and word it lands near — refused rather than guessed when the render's duration no longer matches the timeline.
pathstring | nullThe 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 t…
timesarray | nullExplicit seconds to sample as well as the evenly-spaced ones.

speech_overlap

Does a proposed placement of `clip_id` overlap the VO's speech? The prerequisite check behind "can this clip speak here?" — answer it before designing any ducking. `at`/`clip_in`/`clip_out` describe where `clip_id` would sit on the timeline (defaults: unplaced at 0, its whole duration) — the clip need not be on the timeline yet, and usually isn't, since the current model is single-track. VO's own words map through the existing edit (`Edit.timeline_span`); `clip_id`'s map by offsetting into the proposed window instead. Both sides are trimmed with `energy.believable` first — an inflated w…

ParameterTypeDescription
clip_id *stringThe clip whose placement is being proposed. It need not be on the timeline yet, and usually is not.
atnumberWhere the clip would sit on the timeline, in seconds.
capnumberHow far a word's claimed duration is trusted, as a multiple of the median. Whisper inflates the word after a collapsed retake until it covers the second take, so believing the claim masks exactly the…
clip_evidencestring`auto` (the default) uses the clip's transcript if it has one and its energy envelope otherwise, saying which in the result. `transcript` refuses a clip with none; `energy` forces the envelope even on…
clip_innumber | nullWhere inside the clip the proposed placement starts, in its own source seconds. Unset, its head.
clip_outnumber | nullWhere it ends, in the clip's own source seconds. Unset, its end.
max_gapnumberHow short a silence may be and still be swallowed into one speech run, in seconds — a 0.05s gap is not a usable seam.
min_seamnumberHow wide a gap has to be to be reported as a `clean_seam`, in seconds.
pathstring | nullThe 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 t…
vo_clip_idstring | nullWhich transcript is the VO. Unset, the project's own. The VO always needs a transcript; the placed clip does not.

attenuate_noises

Pull down short loud non-speech events instead of cutting them out. An event only qualifies automatically when it is both short (max_event_seconds) and sitting in a word-map gap narrow enough to prove the map is dense around it (max_gap_seconds) — a wide gap disqualifies even a very short event, which is the false-positive class this exists to prevent (speech sitting in a hole the transcript never wrote down). Qualifying events are pulled down `db` via one ffmpeg pass, never cut, and written as a new derived copy that `media_path()` picks up automatically everywhere downstream; the original…

ParameterTypeDescription
clip_id *stringThe clip to scan. It always reads that clip's **original** media, never a previous attenuated copy, so repeated calls never compound gain.
confirm_suspectbooleanGo ahead even though a boundary word claims a suspect duration. Read the echoed words first — a suspect duration usually means whisper hid a retake inside that word, so the edge is not where it read…
dbnumberHow far to pull each qualifying event down, in dB. Negative is quieter.
max_event_secondsnumberLongest an event may run and still qualify automatically. Anything longer is reported as `disqualified` and never written.
max_gap_secondsnumberHow wide the word-map gap around an event may be. A wide gap disqualifies even a very short event — that is the false-positive class this exists to prevent, speech sitting in a hole the transcript n…
padnumberSeconds added either side of each event before it is pulled down.
pathstring | nullThe 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 t…
planbooleanResolve the whole call and report what it would do, writing nothing. Prefer it over doing the thing and undoing it.

proxy_transcode

Make footage the preview cannot decode playable in the window. The other half of what the viewer already reports: an unplayable clip names its reason (hev1, 10-bit, an unopenable container, an undecodable audio track) and shows black. This transcodes a downscaled h264/aac/mp4 stand-in into the project's cache so it plays. One ffmpeg pass; a long clip is minutes. The result is a *preview* artefact and cannot reach a render: nothing records it in the manifest, so `media_path()` — what export, verify and check_frames all resolve through — has no way to see it. That containment is structural…

ParameterTypeDescription
clip_id *stringThe clip the preview cannot decode. A clip that already plays is refused, and so is one with no decodable streams — that is a broken file, not a codec problem.
forcebooleanRebuild a proxy that is already current. It touches nothing authored: a proxy is a preview artefact the manifest never records, so no render can reach one. It overrides neither refusal.
pathstring | nullThe 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 t…

review_add

Register a rendered file, sheet or A/B member for `proofcut review serve`. Never copies `source` — a render already lives in `renders/`, a sheet in `reframe_sheet`'s own directory — this just points `name` at it, so a served round has something to stream and a verdict has something to attach to. Registering a `name` that already exists **replaces** that entry, and the verdict recorded against it stays — so re-pointing a name at a different file leaves yesterday's answer attached to today's bytes. Register the new file under a new name unless replacing it is what you mean. `kind` is on…

ParameterTypeDescription
kind *stringOne of `render`, `sheet`, `ab`, `control`.
name *stringWhat to call this item in the served round. Re-using a name replaces that entry while its verdict stays attached.
source *stringThe file to point at — never copied. A render already lives in `renders/`, a sheet in the sheet directory.
aboutstring | nullOne plain line the served page prints under the name, saying what this item is (how it was made, what differs) — a reviewer judges nothing they cannot tell apart.
baselinestring | nullRequired for `kind="control"`: the name of the already-registered item this one claims to be identical to. Both files' sha256 must match or the call is refused — nothing is labelled a control here u…
pathstring | nullThe 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 t…

review_verdict

Record a verdict against a review item registered by `review_add`. `verdict` is a free string, not an enum — past review rounds answered yes/no, "loop"/"hold", or a specific choice by name, and a fixed vocabulary would misfit whichever question the next round is actually asking. Refuses a `name` `review_add` has not registered. Calling it again for the same item **replaces** that item's answer rather than appending one, so a round holds one verdict per item, with the time it was recorded.

ParameterTypeDescription
name *stringThe registered item being answered. An unregistered name is refused.
verdict *stringThe answer, as free text rather than an enum — past rounds answered yes/no, loop/hold, or a specific choice by name, and a fixed vocabulary would misfit whichever question the next round asks.
notestring | nullAnything to record beside the verdict.
pathstring | nullThe 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 t…

review_list

List every item registered for this project's review round, and its verdict. Read-only. Returns `items` (each `review_add` registration: name, kind, project-relative path, sha256 and any control baseline) and `verdicts` (keyed by item name: the verdict, its note and when it was recorded). Items are registered with `review_add`, judged with `review_verdict`, and served to a phone by `proofcut review serve`.

ParameterTypeDescription
pathstring | nullThe 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 t…