Cues MCP tools: takes, transcripts and alignment
The Cues MCP tools for takes, transcripts, aligning a take to its cues, and filler words and silences, with what each returns.
This page is written for AI agents.
The conventions every tool follows, and the tools to ask the user about first, are on Cues MCP tools.
Takes, transcripts and alignment
- Takes are passed as
take: the take's id, such as"t3", or its number, such as3. The app calls it "Take 3". - Times are seconds, to the millisecond. Take time is seconds into one take's own recording. Main-track time is seconds into the edited video, after cuts. Each argument says which it uses.
- Words are named
{ take, index }:indexis the word's 0-based position in that take's words. It never changes, even when the word's text is corrected. A silence of over 2 seconds is a…word with its own index. - Recording settings come from
settings_get, in itsrecordingsection.
| Tool | Arguments | What it does |
|---|---|---|
take_list |
project |
The project's takes, in recording order. See What the reads return. |
take_import |
project, file: an absolute path to a MOV or MP4 file |
Copies the file into the project as a new take and starts transcribing it. Returns { take }. Like a recorded take, you're asked to align it once its transcript is ready. |
take_delete |
project, take |
Moves the take's folder to the macOS Trash and removes its parts of the video. Cue starts inside those parts move to where the parts were. Undoable. Marked destructive. Returns {}. |
take_setSync |
project, take; voice: −10 to 10 |
Lines up a take's voice with its camera and screen: voice is how many seconds the voice plays later (+) or earlier (−) than recorded, against the camera and screen, which always stay together. Move it later when the lips move after the words are heard; earlier when they move before. take_list reports each take's voice. Undoable. Returns {}. |
take_shiftSync |
project, takes: one or more takes; voice: −10 to 10 |
Moves the voice later (+) or earlier (−) by the same seconds in each take: added to each take's voice, against the camera and screen together. One undo step. For a setup that's always off by the same amount, such as a capture card that delays the camera. Returns {}. |
take_applySync |
project, takes: one or more takes; voice: −10 to 10 |
Gives each take the same voice, such as the one just lined up in Voice sync. One undo step. Returns {}. |
take_estimateSync |
project, take |
Estimates a take's sync by matching how open the speaker's mouth is with how loud the voice is, over the first 90 seconds. Returns { voice, current, confident, correlation, faces, frames }: voice is the value to give take_setSync, or null when no face shows, and current is the take's voice now. When confident is false, the match is weak or another value matches nearly as well: show the user the value and ask them to check it in Recordings › Voice sync. Takes a few seconds per minute of video. Changes nothing. |
take_setFraming |
project, take; optional: zoom 1–4, y 0–1, focus {x, y} |
Frames the take's camera for every space it shows in: full screen, beside or below a visual, or in the bubble. The camera fills each space, times zoom. focus is the focal point, usually the middle of the face, as fractions of the camera frame from its top left: every space centers it across. y is the row of the camera frame centered down, 0.5 the middle. Near an edge, the picture stops there. Give only what changes. Undoable. Returns {}. |
take_findFace |
project, take |
Finds the middle of the speaker's face from frames across the take. Returns { focus, faces }: focus to give take_setFraming, or null when no face shows, and how many frames had one. Changes nothing. |
take_applyFraming |
project, takes: one or more takes; zoom, y, focus |
Gives each take the same framing, such as for takes recorded with the same camera setup. One undo step. Returns {}. |
take_setColor |
project, take; optional: exposure, brightness, contrast, highlights, shadows, saturation, temperature, tint |
Adjusts the color of the take's camera wherever it shows, export included, but not the live camera while recording. Each value is −100 to 100, 0 as recorded; only what you pass changes. Small values (±5 to ±25) look natural. One undo step. Returns {}. |
take_applyColor |
project, takes: one or more takes; all eight color values |
Gives each take the same color, such as for takes recorded in the same light. All 0 resets them. One undo step. Returns {}. |
take_setAudio |
project, take; optional: eq, compressor, limiter |
Processes the take's voice wherever it plays and in export: the EQ, then the compressor, then the limiter, each turned on or off with on. Only what you pass changes. All three are off on a new take. See Color and audio. One undo step. Returns {}. |
take_applyAudio |
project, takes: one or more takes; eq, compressor, limiter, each complete |
Gives each take the same voice processing, as take_list reports it. All three off resets them. One undo step. Returns {}. |
transcript_get |
project, take: optional |
With take, that take's own transcript. Without it, the video's transcript as it plays. See What the reads return. |
transcript_retry |
project, take |
Transcribes a take again after its transcript failed, as Try again does. Returns {}. |
transcript_correctWord |
project, take, index, text |
Changes one word's text, such as a misheard name. Only the text changes, never the audio or the timing. Returns {}. |
timeline_get |
project |
The video's main track, cuts, cue starts and takes. See What the reads return. |
take_align |
project, take; cues: [{ cue, start, end }], end optional and only on the last entry |
Saves where the take sits against the cues: the cues it covers in story order, leaving out any it skips, each with its start in take time. Starts must increase. Each cue runs to the next listed cue's start, and the last to its end or the take's end. In the same undoable step, the video uses this take for exactly the listed cues, replacing what played there, and their dividers move to the new spans. Cues it doesn't list keep their take and divider. Calling it again replaces the alignment. Wording differs between takes, so align roughly. A take without a transcript can be aligned from start times the user gives. Returns {}. |
timeline_setTake |
project, take; then cue, or from and to |
Uses a take for a whole cue, or for a main-track span from from to to, mapped into the take through its alignment. Fails when the take isn't aligned (align it with take_align first) or doesn't cover the span; the error says which cues it covers. Returns {}. |
timeline_cut |
project, from, to; optional exact |
Removes a main-track span. Both ends snap to the gaps between words, keeping the gap; with exact: true, it cuts exactly from to to. Returns { cut }. |
timeline_restore |
project, cut |
Puts a cut back, by its id from timeline_get. Returns {}. |
take_showInFinder |
project, take |
Shows the take's files in the Finder. Returns {}. |
timeline_setDivider |
project, cue; then word, { take, index }, or at, a main-track time |
Moves where a cue after the first starts: at that word, or at the gap between words nearest at. A cue's start can't pass its neighbors'; the error names the allowed range. Returns {}. |
What the reads return
take_list returns each take with:
takeandnumber,recordedAt(ISO time) anddurationin seconds.sources:camera,micandscreen, each true or false.imported: true when it came from Use a recording file….inProject: true when the video uses any part of it.transcript:transcribing,ready,failed, oroffwhen Transcribe on this Mac was off.transcriptErrorcomes withfailed.alignment: null until aligned, otherwise[{ cue, number, start, end }]for the cues it covers, in story order.startis the take time the cue starts at. Each cue runs to the next one's start, and the last to itsend, when it has one, or the take's end.sync:{ camera, screen, voice }.cameraandscreenare the seconds after the mic that each file starts, as the recorder measured them;voiceis how far the voice has been moved later (+) or earlier (−) against both. Playback, the preview and export play the camera and screen at the take time minus their value, plusvoice, so they stay together and lined up with the voice.framing:{ zoom, y, focus: { x, y } }, astake_setFramingsets it. The default iszoom1,y0.5 andfocus0.5, 0.5.color:{ exposure, brightness, contrast, highlights, shadows, saturation, temperature, tint }, each −100 to 100, 0 as recorded.audio:{ eq, compressor, limiter }, as below.
Color and audio
eq:{ on, highPass, lowShelf, peak1, peak2, peak3, highShelf }.highPassis{ on, frequency }, 20–400 Hz (80 by default).lowShelfandhighShelfare{ frequency, gain }(120 Hz and 10 kHz by default). The three peaks are{ frequency, gain, q }(250 Hz, 1 kHz and 4 kHz,q1 by default, 0.1–10). Frequencies run 20–20000 Hz and gains −12 to 12 dB.compressor:{ on, threshold, ratio, attack, release, knee, makeup }:threshold−60 to 0 dBFS (−18),ratio1–20 (3),attack0.1–200 ms (10),release10–2000 ms (120),knee0–24 dB (6),makeup0–24 dB (3).limiter:{ on, ceiling, release }:ceiling−12 to 0 dBFS (−1),release1–1000 ms (60).- For a voice, cut 200–400 Hz for mud, lift 3–5 kHz a few dB for clarity, and cut 6–8 kHz for harsh s sounds.
transcript_get with take returns { take, state, language, words }; language can be null. Each word is { index, text, start, end }, in take time, with corrections in text.
transcript_get without take returns { duration, words }, the words as the video plays. Each word is { take, index, text, start, end, at, cue, cut }:
startandendare take times, andatis the word's main-track time, or null when it's cut.cueis the cue it falls in.cutis true for cut words. They're listed so you can restore them.
Paragraph breaks are left to you.
timeline_get returns:
duration: the video's length after cuts.mainTrack:[{ take, start, end, at }]in play order.startandendare take times, andatis where the span starts in main-track time.cuts:[{ cut, take, start, end, at }].cutis the idtimeline_restoretakes.dividers:[{ cue, number, at }], where each cue after the first starts.takes:[{ take, number, alignment }], withalignmentas intake_list.
Filler words and silences
These use the project's Remove filler words and Remove silences settings: its own, else the defaults in Settings › Editing (settings_get, cleanup), the same ones the buttons in Edit use.
| Tool | Arguments | What it does |
|---|---|---|
transcript_findFillers |
project |
The filler words on the main track: each match's first word { take, index }, its words, its cue, and its main-track from and to. harsh is true for a filler that runs straight into or out of another word with no gap; with Avoid harsh cuts on, it stays. Changes nothing. |
transcript_removeFillers |
project, words: optional, a list of { take, index } |
Cuts the listed matches, by their first word, in one undo step; without words, every match that isn't harsh. Each is its own cut the user can restore. Show the user the matches and cut only with their yes. |
transcript_findSilences |
project |
Every pause at least the shortest silence long, found from each take's mic audio, including pauses the transcript stretches a word over, as the span to cut (from and to, main-track seconds) after keeping the set time after and before the words, and the whole pause. Changes nothing. |
transcript_removeSilences |
project, silences: optional, a list of from values, or { silence, from, to } to cut a different span inside that silence's pause |
Cuts the listed silences, or all of them, in one undo step. Each is its own cut the user can restore. |
project_setCleanup |
project; optional: fillers, silences |
Sets this project's own settings. fillers: { words: [{ text, on }], avoidHarshCuts }. silences: { min, keepAfterSpeech, keepBeforeSpeech }, in seconds. null goes back to the defaults. |
Takes on the video
A project's first take, recorded without the presenter or imported, goes on the video as the first cue's footage until it's aligned, so the transcript shows it right away. A take recorded from the presenter is aligned from the cue moves. Later takes stay off the video until they're aligned with take_align.
When a transcript is ready
A take recorded with the presenter is placed on the cues by the user's cue flips, each after the first moved to the nearest pause between words within a second, and Cues doesn't ask about it. For a take recorded without the presenter, or added from a file: when its transcript is ready, a terminal tab is running an agent and the recording.alignTakes app setting (Align new takes automatically) is on, as it is by default, Cues sends that agent a request to align it with the cues-edit skill (take_align), naming the project and the take. It's sent only while the agent is waiting for input, and otherwise when it next waits. Takes that are ready at the same time go in one request. With the setting off or no agent running, nothing is sent, and the take stays unaligned until someone runs cues-edit.
Next: Cues MCP tools: the timeline. Back to Cues MCP tools.