contact_sheet
Generate a contact sheet of a clip's first seconds to preview its head before cueing anything. Uses cached thumbnails to show labeled frames, helping avoid cueing to black or unwanted credits.
Instructions
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 (the agent panel's
--tools ToolSearch) cannot open a path. import_media makes the frames for every clip it registers,
so this is usually a cache hit; call it to see them, to look further
than ten seconds, or to redraw after a re-import.
An audio-only clip returns frames: [] and no sheet, not a refusal — the
same "nothing to look at is not a failure" as check_frames. A box
without magick returns the frames and a sheet_error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | The project directory to act on. Omit it — the usual case — when this server is bound to a project (started as `proofcut -C DIR mcp`, or inside a project; `ping` says which): it then resolves to that one bound project, a relative path resolves against it, and a path outside it is refused by name. Unbound, `path` is the whole address and omitting it refuses rather than guessing. | |
| clip_id | Yes | The clip whose head to look at. | |
| seconds | No | How 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. | |
| interval | No | Seconds between tiles. |