# Eziclip Studio tools

122 MCP tools for editing video in Eziclip Studio. Connector: https://mcp.eziclip.com/mcp (OAuth). Tools marked *not on the connector* come with the CLI only. Human docs: https://eziclip.com/docs

## Plan the edit

### start_edit_brief

Start edit brief · changes the project

Start an edit brief: returns the intake questions (goal, platform, length, tone, captions, music, inserts, ending, checkpoints; where notes are available, whether to save as the board default) with suggested defaults. For PAID-SOCIAL ADS pass kind:'ad': the questions become the BRAND interview (name, colours, fonts, logo, offer, audience, platform, languages, off-limits, references, assets, volume) and the ad recipe replaces the talking-head one. Ask the user in ONE message; they may answer only what they care about or say 'you decide'. Then submit_edit_brief. Cuts and polish refuse until a brief is submitted.

- `kind` (one of edit | ad)

### submit_edit_brief

Submit edit brief · changes the project

Save the brief and get a concrete recipe (target length, grade, music, inserts, checkpoints). goal + platform are REQUIRED — refuses without them. For ADS pass answers.kind:'ad' with brandName, brandColors, offer and platform (all REQUIRED) plus brandFonts, brandLogo, audience, languages, offLimits, references, assets, volume — the recipe then becomes the ad recipe. Pass what the user answered; for 'you decide' fields pick sensible values and tell the user what you picked. approvals: [] (fully automatic, default) | ['rough'] | ['script','rough']. saveAsDefault:true also writes the global board profile where notes are available.

- `answers` (object, required)

### submit_edit_plan

Submit edit plan · changes the project

Step 2, REQUIRED before any structure cut (keep_time_windows / assemble_from_plan / remove_pauses / cut_source_range / trim / split refuse without it). Prove you understood the footage: WATCH it (get_filmstrip or describe_video) and read the transcript first. `summary` = what the footage is (who, where, what is said/done), `beats` = ordered moments to keep: { mediaId?, start, end, text?, kind?:"speech"|"visual", why }. Speech beats need `text` as spoken; silent action hooks use kind:"visual" (text optional) — they appear as [visual] in `script` and skip sentence lint. `dropping` = what you leave out. REFUSES incoherent spoken scripts. READ returned `script` before cutting.

- `summary` (string, required)
- `beats` (array of object, required)
- `dropping` (string)

### approve_script

Approve script · changes the project

Only when the brief asked for a script checkpoint: record that the user approved the plan's beats. Call ONLY after you showed them and they said go. Unlocks structure cuts.

### approve_rough

Approve rough · changes the project

Only when the brief asked for a rough checkpoint: record that the user approved the rough cut after get_edit_preview. Call ONLY after they said go. Unlocks polish (color, music, punch-ins, stickers, titles).

### get_edit_flow_status

Get edit flow status · reads

Where you are in the edit flow (brief → plan → [script checkpoint] → structure → [rough checkpoint] → polish → export) and the next required step. Call when a tool refuses or to report progress.

## See the project

### get_project_digest

Get project digest · reads

Read the whole project: canvas size/fps, every clip on the timeline (main / overlays / audio / titles) with timings and effects, the media bin, captions state, and the transcript (what is said and when). Call this FIRST to understand a project before editing it. The editing playbook (order of operations, caption/audio checks before export) is get_guide('workflow').

### get_state

Get state · reads

Quick studio state: the open project, playhead, current selection, running jobs, and whether writes are enabled.

### list_media

List media · reads

List the media in the project's bin: id, name, kind, duration, transcript flag, and portable source (Google Drive file id / desktop path) when set — sources sync across devices so clips can be re-fetched without re-importing bytes. A file that isn't on this device has missing:true and, when another of the user's devices has it, onDevices (e.g. ["Mac · Desktop app"]) — files never travel between devices: ask the user to open the studio there or pick the file here.

### get_frame

Get frame · reads

Render and return a preview frame at timeline second `t` (defaults to the current playhead) so you can SEE the video. Use it to check what a moment looks like before or after an edit.

- `t` (number)

### get_filmstrip

Get filmstrip · reads

WATCH a video: one contact-sheet image of up to ~20 deduped frames with burned-in timestamps (reading order left→right, top→bottom), sampled across the media's SOURCE time (optionally [start,end]). This is how you see the footage's whole flow — combine it with the transcript (what's said), get_visual_map (scene boundaries + motion) and get_audio_levels (sound) and you genuinely know the video. Then zoom ONE moment with get_frame. Near-identical frames are dropped automatically, so a held shot doesn't waste tiles. Use it FIRST on any footage you haven't seen. (Model can't read images at all? describe_video narrates the frames as text.)

- `mediaId` (string, required)
- `start` (number)
- `end` (number)
- `frames` (number)

### get_edit_preview

Get edit preview · reads

One image of the CURRENT EDIT — N frames across the timeline (default 6), timestamps burned in. Show it to the user with a short change list after the rough cut and before export. If the brief asked for a rough checkpoint, wait for their go and call approve_rough.

- `frames` (number)

### describe_video

Describe video · reads

TEXT-ONLY models: this is your eyes. An on-device captioning model narrates sampled frames of a media as a timestamped TEXT timeline ('0:03 — a man walking down a dirt road…'). No image support needed — works for any agent, local Ollama models included. Combine with the transcript + get_visual_map + get_audio_levels and you know the video without seeing it. First call downloads a ~200MB model and takes a while (~1s per frame after); results are cached. If your model CAN read images, prefer get_filmstrip (richer, faster).

- `mediaId` (string, required)
- `start` (number)
- `end` (number)
- `frames` (number)

### get_visual_map

Get visual map · reads

See the STRUCTURE of footage without speech (b-roll, sports attempts, montage material) — samples frames along a media's source time and returns scene/cut boundaries plus per-segment motion (low/medium/high) and brightness. Use it the way you use the transcript for speech: as the skeleton to cut against (e.g. many attempts at a trick → boundary-separated segments; keep the interesting high-motion ones, cut the resets). Pair with get_audio_levels to land those cuts on music beats. Takes a few seconds on long clips.

- `mediaId` (string, required)
- `stepSec` (number)

### get_pose_map

Get pose map · reads

Body transcript for sports / action — on-device Pose (heavy) over the media's SOURCE time. Returns jump / high_reach / pull_up / impact events with confidence, coverage, and degraded flag. Requires a live Studio tab (https://eziclip.com/studio). If degraded, fall back to get_visual_map — do not invent jumps. Verify 1–2 peaks with get_frame before keep_time_windows.

- `mediaId` (string, required)
- `start` (number)
- `end` (number)
- `kinds` (array of string)

### find_pose_matches

Find pose matches · reads

Find every SOURCE window where the body pose matches the pose at refSrcSec (same media). Requires live Studio tab. Apply matches with keep_time_windows. Use when the user says 'cut every moment like this frame'.

- `mediaId` (string, required)
- `refSrcSec` (number, required)
- `start` (number)
- `end` (number)
- `threshold` (number)

### get_audio

Get audio · reads

Return the ACTUAL audio of a media's source window [start,end] as a WAV clip you can listen to — hear exactly what was said, catch a mumble or wrong word, decide a cut by ear. Only useful if your model accepts audio input; a text-only model should use get_audio_levels instead. Capped at ~20s per call.

- `mediaId` (string, required)
- `start` (number, required)
- `end` (number, required)

### get_audio_levels

Get audio levels · reads

'Hear' the audio as data: an RMS-energy envelope (one number per `binMs`, default 50ms) plus the detected silent spans over a media's source-time window [start,end]. Use it to place a cut on a real pause, confirm a word actually lands where the transcript claims, or find where captions drift — works for any model. Get mediaId + word timings from get_project_digest. (If your model accepts audio, get_audio returns the actual sound.)

- `mediaId` (string, required)
- `start` (number, required)
- `end` (number, required)
- `binMs` (number)

### get_mix_audio

Get mix audio · reads

Listen to the MIXED timeline as WAV (≤~12s window). Also returns loudness {peakDbfs, rmsDbfs, clippingRisk, tooQuietForSocial, note} — relay the note to the user; social target ≈ −14 LUFS. Use after adding music/SFX or ducking. Requires live Studio tab.

- `start` (number, required)
- `end` (number, required)

### get_beat_map

Get beat map · reads

Inspect one media's SOURCE tempo grid (BPM, beats, strong beats). For editing the board use get_timeline_beats (multi-track timeline clock) then snap_to_beats / arrange_on_beats / split_on_beats. Works on music; fails clearly on speech/ambient. `start`/`end` bound the analysis window (source seconds).

- `mediaId` (string, required)
- `start` (number)
- `end` (number)

### get_timeline_beats

Get timeline beats · reads

Board beat clock in TIMELINE seconds — union of strong/weak hits from every audio track (same grid the Snap magnet uses). Filter with mediaId, trackId, which (strong|weak|all), fromTl/toTl. Then snap_to_beats, arrange_on_beats, or split_on_beats — or pass a beat's `t` as tlStart to add_sticker / add_title / add_audio_asset. Craft: get_guide('cutting-to-music').

- `mediaId` (string)
- `trackId` (string)
- `which` (one of strong | weak | all)
- `fromTl` (number)
- `toTl` (number)

## Bring media in

### import_media

Import media · changes the project

Bring a NEW file the user gave you INTO the project by URL — the browser fetches it, ingests it and (by default) adds it to the timeline. Use this first when the bin is empty and the user handed you a clip. The URL must be directly fetchable (public / presigned / CORS-enabled). Returns the new mediaId; then transcribe / edit / export as usual.

- `url` (string, required)
- `addToTimeline` (boolean)
- `name` (string)

### import_media_bytes

Import media from base64 · changes the project

Import media from base64 into the open Studio board (chunked: chunkId + chunkIndex + chunkTotal). Chat files are NOT on the board until imported. Requires live Studio tab at https://eziclip.com/studio.

- `base64` (string)
- `mime` (string)
- `name` (string)
- `addToTimeline` (boolean)
- `chunkId` (string)
- `chunkIndex` (number)
- `chunkTotal` (number)

### convert_media

Convert media · changes the project

Convert a camera-codec library item (ProRes, DNxHD, CineForm, 10-bit 4:2:2 HEVC…) this browser can't decode into an editable H.264+AAC copy. Import already triggers this automatically for anything undecodable under 10 minutes — use this only to retry a failed conversion, or for media that arrived some other way and is still marked undecodable in list_media/get_project_digest. Takes real minutes on a real camera file; the mediaId is REPLACED on success (the returned `media` is the new id — re-fetch get_project_digest before referencing this clip again).

- `mediaId` (string, required)

### add_to_timeline

Add to timeline · changes the project

Add a bin media item to the timeline (video/image → main track, audio → an audio track). Pass `asAudio:true` to put a video's SOUND only on an audio track (picture discarded — same as dropping the video onto an audio lane). Pass a mediaId from list_media.

- `mediaId` (string, required)
- `asAudio` (boolean)

### remove_media_from_project

Remove media from project · changes or removes

Remove a media file from the ACTIVE BOARD (every sheet's library). By default also deletes timeline clips that use it on this board. Other boards are untouched. Pass removeClips:false to only strip the bin entry when nothing is placed.

- `mediaId` (string, required)
- `removeClips` (boolean)

### search_stock_video

Search stock video · reads

Search free STOCK FOOTAGE. Returns hits + JPEG samples — SEE before import_media. Then match_grade to the plate. Supports the story, never replaces it.

- `query` (string, required)
- `includeSamples` (boolean)

### search_stickers

Search stickers · reads

Search the built-in visual-asset library (Klipy). Returns hits + JPEG samples for the first hits — SEE before add_sticker, never blind-add. `kind`: stickers|gifs|clips. Taste guides: meme-grammar, stickers-and-text-overlays.

- `query` (string, required)
- `kind` (one of stickers | gifs | clips)
- `includeSamples` (boolean)

### add_sticker

Add sticker · changes the project

Add a hit from search_stickers onto the video. `image` = the hit's image URL; for a CLIP also pass its `video` — it lands as a video overlay with its own sound (mind the mix: duck or mute it under speech). Optional: tlStart (timeline second, defaults to playhead), durationSec (default 4), x/y (fractions of canvas from centre, −0.5..0.5, y negative = up; keep clear of captions and platform UI), scale (default 0.7). One asset per beat, synced to the audio accent — a meme lands when it PUNCTUATES a moment; scattered decoration reads amateur. Restraint reads professional.

- `image` (string, required)
- `video` (string)
- `tags` (string)
- `tlStart` (number)
- `durationSec` (number)
- `x` (number)
- `y` (number)
- `scale` (number)

### search_audio

Search audio · reads

Search the built-in stock sound library (Freesound, CC0-only — safe for any use). ONE pool; `kind` narrows it: 'music' (beds/loops), 'sfx' (whoosh, riser, click, impact), 'ambient' (soundscapes/room tone), 'voice', 'instrument' (single-instrument samples), 'all' (default). Optional minDuration prefers longer beds but is NOT required — if a bed is longer than the cut, just trim_clip + fadeInSec/fadeOutSec. Returns hits with name/tags/duration + a `url` to pass to add_audio_asset.

- `kind` (one of music | sfx | ambient | voice | instrument | all, required)
- `query` (string, required)
- `minDuration` (number)

### add_audio_asset

Add audio asset · changes the project

Import a track/effect from search_audio (pass its `url`) and lay it on the Music or SFX track. Music defaults to tlStart 0 and is trimmed to the picture end so the timeline length does not blow out. Optional `tlStart` overrides. loop:true tiles a SHORT loop across a longer cut. Returns mediaId, clipId (+ clipIds), clipsAdded, report — use clipId for set_audio_props / trim. Then duck_music + get_mix_audio.

- `url` (string, required)
- `kind` (one of music | sfx)
- `name` (string)
- `tlStart` (number)
- `loop` (boolean)

## Cut and structure

### remove_pauses

Remove pauses · changes or removes

Cut silences out of a main clip using the real audio waveform (RMS), falling back to transcript gaps when audio can't be decoded. Needs a transcript first. Additive on existing cuts. Returns a report: durationBefore/After, removedSec, captionLines, warnings — show the new length to the user.

- `clipId` (string, required)

### cut_source_range

Cut source range · changes or removes

Non-destructively cut a source-time range [start,end] in seconds out of a main clip. Snaps to word-gap midpoints by default; pass snap:false for a manual boundary.

- `clipId` (string, required)
- `start` (number, required)
- `end` (number, required)
- `snap` (boolean)

### restore_cuts

Restore cuts · changes the project

Remove every cut on a main clip (restore the whole clip).

- `clipId` (string, required)

### nudge_cut_boundary

Nudge cut boundary · changes the project

Fine-tune one edge of a text-cut join when autocut landed off the real audio. Pass `atSrc` inside/near the cut gap, `edge` left|right, and `deltaSec` (positive = later). No gap snap.

- `clipId` (string, required)
- `atSrc` (number, required)
- `edge` (one of left | right, required)
- `deltaSec` (number, required)

### seek_to_word

Seek to word · reads

Seek the playhead to a SOURCE second on a main clip (and scroll the timeline). Use before/after cutting to verify by ear.

- `clipId` (string, required)
- `srcSec` (number, required)

### review_cut_join

Review cut join · reads

Review a text-cut join for headless agents: returns join timings + a short mix WAV around the cut + JPEG frames just before/after. Pass `index` to cycle (0, 1, 2…). Listen for a click or mid-word cut; look at the frame pair for a jump. Also plays in the live Studio tab when focused.

- `index` (number)

### trim_clip

Trim clip · changes the project

Trim a clip's in or out edge to a source-time value in seconds.

- `clipId` (string, required)
- `edge` (one of in | out, required)
- `to` (number, required)

### split_clip

Split clip · changes the project

Split a clip into two at a source-time point in seconds.

- `clipId` (string, required)
- `atSrc` (number, required)

### reorder_main

Reorder main · changes the project

Reorder the main track. Pass ALL main clip ids in the new order (a full permutation).

- `ids` (array of string, required)

### remove_clips

Remove clips · changes or removes

Delete clips by id.

- `ids` (array of string, required)

### move_clip

Move clip · changes the project

Move a clip: { track:'main', index } reorders Video 1; { tlStart } sets absolute timeline start for main (sticker), overlay, audio, or title. Prefer snap_to_beats / arrange_on_beats when landing on music.

- `clipId` (string, required)
- `to` (object, required)

### assemble_from_plan

Assemble from plan · changes or removes

Build the main track from the submitted edit plan in one step: one clip per beat, in order, with that beat's source window. Replaces existing main clips. Prefer this when the plan spans multiple takes or needs a reorder — instead of split + keep_time_windows + rearrange. Requires submit_edit_plan first. Returns clips + script — confirm the script still reads as one story, then polish.

### keep_time_windows

Keep time windows · changes or removes

Set keep islands on a main clip in one shot (SET_CLIP_KEEP). windows = [{start,end}] in SOURCE seconds. policy 'keep' (default) = keep ONLY those windows; 'cut' = remove those spans from the current keep. When a transcript exists, edges snap to word boundaries (a word must be ≥50% inside or its midpoint in the window — prevents neighbour words leaking into captions). Returns a report: durationBefore/After, removedSec, windowsApplied, captionLines, warnings — show the new length and resulting lines to the user. Requires live Studio tab. Max 80 windows; each ≥ ~2 frames. For a multi-beat plan across takes, prefer assemble_from_plan.

- `clipId` (string, required)
- `windows` (array of object, required)
- `policy` (one of keep | cut)

### suggest_highlight_windows

Suggest highlight windows · reads

Suggest high-confidence sports highlight windows from pose ∪ high-motion scenes. Does NOT apply keep — you still call keep_time_windows after verifying with get_frame. Requires live Studio tab.

- `mediaId` (string, required)
- `kind` (one of sports)
- `start` (number)
- `end` (number)
- `minConfidence` (number)

### set_clip_speed

Set clip speed · changes the project

Set constant Speed on a video or audio clip. `rate` is the multiplier (1 = 100%, 0.5 = 50%, 2 = 200%) — same as the Studio Speed row. Non-1× uses on-device smooth frame synth when ready (preview cache + export); live playhead is still playbackRate. `keepPitch` (default true) keeps the voice's pitch while retiming — pass false for the classic resample where pitch rides the rate. For ramps use animate(prop:'speed', keyframes:[{t,v}]) with v as rate; a ramp always resamples. Pass reset:true for 1×. Requires live Studio tab.

- `clipId` (string, required)
- `rate` (number)
- `keepPitch` (boolean)
- `reset` (boolean)

### snap_to_beats

Snap to beats · changes the project

Snap existing clips onto the board beat grid. clipIds = main, overlay, audio, and/or titles. edges: in | out | both (default). which / mediaId / trackId filter the grid like get_timeline_beats. Prefer checkpoint first.

- `clipIds` (array of string, required)
- `edges` (one of in | out | both)
- `which` (one of strong | weak | all)
- `mediaId` (string)
- `trackId` (string)
- `fromTl` (number)
- `toTl` (number)

### arrange_on_beats

Arrange on beats · changes the project

Montage pack: place clipIds in order on successive board beats (default which=strong, beatsPerClip=1). Works for main, overlay, audio, titles. Optional startAtTl / mediaId / trackId. One undo step. Prefer checkpoint first. Craft: get_guide('cutting-to-music').

- `clipIds` (array of string, required)
- `which` (one of strong | weak | all)
- `beatsPerClip` (number)
- `startAtTl` (number)
- `mediaId` (string)
- `trackId` (string)

### split_on_beats

Split on beats · changes the project

Split a main, audio, or overlay clip on the board beat grid (timeline hits from all / filtered audio tracks). which: strong (default) | weak | all. Optional mediaId/trackId/fromTl/toTl/maxCuts. Prefer checkpoint first. For packing many clips use arrange_on_beats. Craft: get_guide('cutting-to-music').

- `clipId` (string, required)
- `which` (one of strong | weak | all)
- `mediaId` (string)
- `trackId` (string)
- `fromTl` (number)
- `toTl` (number)
- `maxCuts` (number)

### place_main_clip

Place main clip · changes the project

Put a Video 1 clip at an exact timeline second (`startSec`), optionally at a new position in the order (`index`). By default every other clip keeps its time (a gap may open); keepOthers:false slides the touching clips along with it instead.

- `clipId` (string, required)
- `startSec` (number ≥ 0, required)
- `index` (integer ≥ 0)
- `keepOthers` (boolean)

### set_main_gap

Set main gap · changes the project

Leave `gapBeforeSec` seconds of empty picture before a Video 1 clip (0 closes the gap).

- `clipId` (string, required)
- `gapBeforeSec` (number ≥ 0, required)

### shift_main_clips

Shift main clips · changes the project

Slide several Video 1 clips together by `deltaSec` (negative = earlier), leaving every other clip where it is.

- `clipIds` (array of string, required)
- `deltaSec` (number, required)

### add_overlay

Add overlay · changes the project

Lay a bin video or image ON TOP of the picture as an overlay (picture-in-picture, B-roll over the speaker, a logo). tlStart (default playhead), durationSec (video: up to its length; image: default to the end of the picture), lane (default a new row on top), x / y (centre offset, −0.5..0.5, y negative = up) and scale (1 = 35% of the canvas width, the PiP default; scale = wantedWidthPx / (0.35 × canvas width)). Returns clipId — refine with set_transform, animate, set_transition. mediaId from list_media.

- `mediaId` (string, required)
- `tlStart` (number)
- `durationSec` (number)
- `lane` (integer ≥ 0)
- `x` (number)
- `y` (number)
- `scale` (number)

### place_overlay

Place overlay · changes the project

Move an overlay clip to another row (`lane`, 0 = bottom overlay row) and/or another start (`tlStart`, timeline seconds). Rows emptied by the move disappear.

- `clipId` (string, required)
- `lane` (integer ≥ 0, required)
- `tlStart` (number ≥ 0, required)

### place_audio_clip

Place audio clip · changes the project

Move an audio clip to a new start (`tlStart`) and optionally onto another track (`trackId` from get_project_digest). Omit trackId and pass `trackName` to put it on a NEW track.

- `clipId` (string, required)
- `tlStart` (number ≥ 0, required)
- `trackId` (string)
- `trackName` (string)

### move_layer_row

Move layer row · changes the project

Move a whole timeline row to another height in the stack: the row at `lane` goes to row index `to` (0 = bottom). Everything on that row moves with it. For one object use set_layer_order.

- `lane` (integer ≥ 0, required)
- `to` (integer ≥ 0, required)

### delete_overlay_row

Delete overlay row · changes or removes

Delete one overlay row (`lane`) with every clip on it; the rows above move down. One undo step.

- `lane` (integer ≥ 0, required)

### delete_audio_track

Delete audio track · changes or removes

Delete an audio track and every clip on it (an empty track too). One undo step.

- `trackId` (string, required)

## Captions

### transcribe

Transcribe · changes the project

Transcribe a media item's speech with word-level timings so cut-by-text and captions can work. Runs on-device: Parakeet (fast) for 25 European languages when the browser has WebGPU, Whisper otherwise — `model` says which ran. Pass a mediaId from get_project_digest / list_media. Returns the detected `lang`, the `model` used and the transcript as timed `lines` (`[start–end] text`, source seconds) — read them to pick cuts and to proofread captions before fixing words with fix_transcript_word. `language` (ISO-639-1, e.g. 'ru') forces the spoken language when detection is wrong; `force: true` re-transcribes media that already has a transcript.

- `mediaId` (string, required)
- `language` (string)
- `force` (boolean)

### enable_captions

Enable captions · changes the project

Turn burned-in captions on or off for the project.

- `on` (boolean, required)

### set_caption_source

Set caption source · changes the project

Choose which layer's audio drives the captions: 'all', 'main', 'ov:<lane>' or 'tr:<trackId>'.

- `source` (string, required)

### set_caption_style

Set caption style · changes the project

Style the captions. Three ways to call it. (1) A full PRESET — 'tiktok-bold' (karaoke highlight, the social default), 'highlight-pop' (word box), 'clean' (minimal one-word), 'dynamic' (bouncy) — sets look AND animation. (2) An ANIMATION id alone, which changes only how the words arrive and leaves the creator's font/colours/plate untouched: 'word-by-word' (karaoke recolour), 'highlight-box' (box behind the spoken word, with ring), 'highlight-active' (box behind only the current word), 'highlight-trail' (box accumulates under every word spoken so far), 'word-pop' (each word springs in), 'word-fade' (each word fades in), 'word-slide-up' (each word rises into place), 'typewriter' (letter by letter), 'word-blur-in' (each word resolves out of blur), 'word-shake' (lands hard, rattles still), 'one-word' (one word at a time, clean), 'one-word-bounce' (one word, pop + slide), 'line-by-line' (whole line, no per-word motion). (3) A raw style patch (incl. letterSpacing — % of the font size, default 0 — and lineHeight — % of the font size, default 102). See get_guide('captions').

- `preset` (string)
- `patch` (object)

### set_caption_segment

Set caption segment · changes the project

Override one caption line's text and/or timing directly (without touching the transcript) — the escape hatch for a single wrong displayed caption. `mediaId`+`segIndex` identify the segment; `seg` = { start, end, text, words? }. Prefer fix_transcript_word for wording (it corrects everywhere); use this for a one-off override.

- `mediaId` (string, required)
- `segIndex` (number, required)
- `seg` (object, required)

### translate_captions

Translate captions · changes the project

Show the captions TRANSLATED into another language (in-browser opus-mt; word timings stay the spoken ones). lang ∈ en | es | de | fr | it | pt | ru | nl | zh, or null to go back to the spoken language. Translation builds in the background per media file — the original shows until each track lands, then swaps automatically. Needs transcripts (enable captions / transcribe first).

- `lang` (string | null, required)

### align_captions

Align captions · changes the project

Re-align word timings to the actual audio energy — the fix when karaoke highlights or text-cuts land a beat off (Whisper's timestamps drift). Snaps every word to its real onset/offset by listening to the waveform. Pass a `mediaId` to target one clip, or omit to align every transcribed clip on the timeline. Run it after transcribe if timings look loose, before cutting by text.

- `mediaId` (string)

### fix_transcript_word

Fix transcript word · changes the project

Correct a word ASR mis-heard. Locate by source start/end (from digest.transcript.byMedia) and pass the right `text`. A line-sized window is OK when you also pass `from` (the current wrong word) — without it, the tool picks the overlapping word most similar to `text`, or refuses with `candidates` if several compete. The fix flows to captions AND text-based cuts.

- `mediaId` (string, required)
- `start` (number, required)
- `end` (number, required)
- `text` (string, required)
- `from` (string)

### reclean_transcript

Reclean transcript · changes the project

Re-run transcript cleanup (decoder loops, artifacts, split suffixes, timing clamps, caption line grouping) over the words already recognised — seconds, no re-transcription, fix_transcript_word edits survive. Use instead of transcribe force:true when the words are right but the lines look messy. Returns the new `lines`.

- `mediaId` (string, required)

### set_caption_position

Set caption position · changes the project

Move, scale or rotate the whole caption block: x / y (centre offset, −0.5..0.5, y negative = up), scale (1 = default size), rotation (degrees). Keep captions clear of platform UI (get_guide('formats')).

- `x` (number)
- `y` (number)
- `scale` (number)
- `rotation` (number)

### hide_caption_line

Hide caption line · changes the project

Hide (hidden:true) or bring back (hidden:false) one spoken caption line without touching the transcript or the cut. Each line in get_project_digest transcript.timeline carries its clipId + segIndex; hidden lines are listed under captions.hiddenLines.

- `clipId` (string, required)
- `segIndex` (integer ≥ 0, required)
- `hidden` (boolean, required)

### add_caption_line

Add caption line · changes the project

Add a caption line that nobody speaks (a label, a translation note, a sound cue) from `start` to `end` in timeline seconds. It takes the captions' style. Returns its id for update_caption_line / remove_caption_line.

- `start` (number ≥ 0, required)
- `end` (number, required)
- `text` (string, required)

### update_caption_line

Update caption line · changes the project

Change an added caption line's text and/or timing (ids in get_project_digest captions.extras). Spoken lines are corrected with fix_transcript_word or set_caption_segment instead.

- `id` (string, required)
- `start` (number)
- `end` (number)
- `text` (string)

### remove_caption_line

Remove caption line · changes or removes

Delete an added caption line by id (get_project_digest captions.extras).

- `id` (string, required)

### reset_caption_edits

Reset caption edits · changes or removes

Throw away every manual caption edit — text overrides, hidden lines and added lines — so the captions follow the transcript again. One undo step.

## Look and sound

### auto_color

Auto color · changes the project

One-tap colour correction on a clip, analysed from its current frame: white balance voted by near-neutral pixels only (a genuinely golden or blue scene stays that way), exposure taken from the frame's MEDIAN with a low-key guard (a night shot with a bright lamp is not 'corrected' into grey), tone, the three-zone wheels when the shot carries a split cast, and the skin secondary when there IS skin. It reads the file's own colour tags, so phone HDR (HLG/PQ) and camera log are converted with the published math before anything is judged. Re-running RE-DECIDES its own knobs rather than stacking a second grade on the first, so it is safe to call again after a trim. The fast path for 'make it look good' — season afterwards with set_color.

- `clipId` (string, required)

### set_color

Set color · changes the project

Adjust a clip's colour. Pass any of the knobs (each roughly -100..100 unless noted): brightness, contrast, saturation, vibrance, exposure, hue (-180..180), temperature, tint, highlights, shadows, vignette (0..200 — past 100 the falloff also tightens when vignetteSoftness is unset), vignetteSoftness (0..100 — how gradually the vignette rolls off; Effects tab), vignetteX / vignetteY (-100..100, moves its centre), vignetteStretchX / vignetteStretchY (25..400 %), fade (0..100), haze (-100..100 — atmosphere BOTH ways: positive = MIST, a diffusion filter on the lens: light bleeds out of the HIGHLIGHTS and goes milky around them while the detail underneath stays sharp, so it needs something bright in frame to act on; negative = DEHAZE, restores local contrast/colour on hazy footage and seats the blacks back down), diffusion (0..100 — a stocking over the lens: veils the WHOLE frame, halos in the shadows too and micro-contrast down, so unlike mist it shows on a flat evenly-lit shot with nothing bright in it), softness (0..100 — the emulsion falloff: takes the clinical digital edge off, finest detail goes and edges stay put, so grain and a film stock have something to sit in; 12-30 for over-sharpened phone footage, 50+ is a period look. Not a blur and no negative side). SKIN secondary — runs after the primary grade and moves ONLY skin tones (a Cb/Cr qualifier holds the mask, so the background stays put): skinHue, skinSat, skinBright (-100..100), skinTone (-100..100 — rotates WHAT counts as skin ±45°, for when the band misses the complexion), skinSmooth (0..100 — RETOUCH: edge-aware smoothing inside the skin mask only; eyes, lashes and lip edges keep their detail. 15-30 reads natural on camera, 50+ starts looking like a filter). COLOUR WHEELS — FIVE zones, each -100..100. Three are the ASC CDL operators: lift* = shadows, gamma* = midtones, gain* = highlights; per zone R/G/B tint that zone (the three sum to zero = a pure hue push) and Y is its master brightness, e.g. liftB / gammaY / gainR. Lift leaves white alone, gain leaves black alone, gamma moves neither end. Each zone ALSO carries its own saturation — liftSat / gammaSat / gainSat (-100..100): drain noisy shadows or richen only the highlights, the move global saturation cannot make. The other two are BANDED END wheels — black* and white* (blackR/G/B/Y, whiteR/G/B/Y) — offsets confined to the very bottom and very top of the range that fade out before mid-grey. Reach for them when a CDL zone is too broad: tint the deep shadows without touching a face (blackB +20 for cold shadows), or cool a blown sky without cooling the skin under it (whiteB +15). They apply AFTER the CDL and Auto color never touches them. Merges with existing grade.

- `clipId` (string, required)
- `adjustments` (object, required)

### match_grade

Match color grade · changes the project

Copy color + film look from sourceClipId onto target clip ids (stock B-roll matching the plate). Not AI recolor — copies existing knobs.

- `sourceClipId` (string, required)
- `targetClipIds` (array of string, required)

### copy_props

Copy clip properties · changes the project

Copy ALL properties of sourceClipId onto target clips (the context menu's Copy/Paste properties): a video's framing + speed + color + effects + sound, an audio clip's sound, a title's style — keyframes included. Each target takes only what its kind carries. One undo step.

- `sourceClipId` (string, required)
- `targetClipIds` (array of string, required)

### set_effect

Set effect · changes the project

Set a per-clip effect directly (escape hatch): effect ∈ blur | radialBlur ({ amount: 0-100, softness?: 0-100, shape?: round|edges, x?, y?, stretchX?, stretchY?, size?: 10-200 } — sharp centre, blurred edges, same geometry as vignette) | upscale (0-100) | dof ({ focus: 0-100 near→far plane, amount: 0-100 aperture } — REAL depth of field from a warmed Depth Anything map; enabling analyses the clip once, then knobs recompose live; never promise live inference per frame) | bgBlur (legacy portrait person-matte blur — prefer dof for scenic shots; number or { amount, feather }) | crop | stroke | shadow | radius | film | filmGrain | stabilize | cleanAudio | color. `params` is that effect's value (or null to clear). radius is a PERCENT of the pill (0 sharp … 100 fully round), size-independent. film = { intensity: 0-100, stock?: classic|kodak|fuji|cine|velvia|amber|frost|drama|ember|slate|chrome|fade|instant|process|transfer|vintage|mono|silver|noir|tone|dream } — Photos-filter characters + emulsion looks; get_guide('color') for when to pick which. filmGrain = { amount: 0-100 density, opacity?: 0-100 mix default 100, size?: 0-100, speed?: 0-100 } — multi-scale emulsion; keep speed 20-35 for social (get_guide('color')). Animate grain via grainAmount/grainOpacity/grainSize/grainSpeed. Animate radial blur amount via radialBlur.

- `clipId` (string, required)
- `effect` (string, required)
- `params` (any)

### lock_on_point

Lock on point · changes the project

CapCut-style Camera tracking: follow a face, full body, or high-contrast custom spot and keep it in frame with a virtual camera (zoom + soft follow). x/y are 0..1 of the frame (0,0 = top-left). Faces sit slightly high in frame. strength 0-100 (100 = tight follow); smoothness 0-100 steadies the path. Tracking runs once on-device; composes with set_camera_move.

- `clipId` (string, required)
- `x` (number, required)
- `y` (number, required)
- `strength` (number)
- `smoothness` (number)

### stabilize_clip

Stabilize clip · changes the project

Steady a shaky handheld clip. Measures the camera's real path on-device once (a few seconds), then replays the counter-move — nothing is baked, and the preview and the export are identical. strength 0-100 (default 70 — how much of the shake to remove) and smoothness 0-100 (default 60 — low keeps deliberate pans and only kills the tremor, high walks toward a locked-off tripod). Steadying CROPS: the reply reports how much of the frame it cost, so check it before stacking a reframe on top. Pass strength 'off' via remove=true to clear it. Translation only — it cannot fix rolling-shutter wobble or a rolled horizon, and it will barely show on a tripod shot (that is correct, not a failure).

- `clipId` (string, required)
- `strength` (number)
- `smoothness` (number)
- `remove` (boolean)

### set_camera_move

Set camera move · changes the project

Add a procedural CAMERA MOVE to a clip — the shot gets life without touching the user's own transform or keyframes. kind: 'handheld' (subtle human drift — makes a locked-off shot feel held), 'shake' (sharp impact jitter — an action beat), 'zoom-in' (slow push in, grows intimacy), 'zoom-out' (slow pull back, reveals context), 'pan-left'/'pan-right' (slow lateral drift). amount 0-100 (default 45; 30-60 reads natural, 80+ is stylised). 'off' removes it. Use with restraint — get_guide('editing'): a move needs a reason, and one move per shot.

- `clipId` (string, required)
- `kind` (one of handheld | shake | zoom-in | zoom-out | pan-left | pan-right | off, required)
- `amount` (number)

### set_transform

Set transform · changes the project

Position / scale / rotate / fade a clip (main OR overlay/PiP). `patch` keys: x, y (fraction of canvas; 0 = centre), scale (1 = fit), rotation (degrees), opacity (0..1). Merges with the current transform.

- `clipId` (string, required)
- `patch` (object, required)

### animate

Animate · changes the project

Animate a clip property with keyframes. `prop` ∈ x | y | scale | rotation | opacity | volume | speed (playback RATE multiplier 0.1–10 where 1 = 100% — Studio shows percent; ramps stretch/compress the clip; smooth frame synth applies on cache/export when ready — do not promise realtime optical on the live playhead) | blur | filmIntensity | radius | strokePx | shadowBlur | cropX/cropY/cropW/cropH (the crop rect — animate it for an in-clip punch-in) | grainAmount/grainOpacity/grainSize/grainSpeed | vignetteX/vignetteY/vignetteStretchX/vignetteStretchY (a vignette that opens or drifts) | fontSize | fontWeight | titleOutline | titleShadowBlur (text — the title's LOOK animates too: an outline that thickens on a beat, a shadow that blooms in), plus every set_color knob by its own name (brightness, vignette, fade, haze — a mist that rolls in or lifts, diffusion, softness, blackR…whiteY, liftR…gainY, liftSat/gammaSat/gainSat, skinHue/skinSat/skinBright/skinSmooth — they animate under a color* prefix, mapped for you). `keyframes` = [{t, v}] where t is SOURCE seconds for media clips (titles: from tlStart). Values interpolate linearly between points.

- `clipId` (string, required)
- `prop` (string, required)
- `keyframes` (array of object, required)

### move_keyframes

Move keyframes · changes the project

Move existing keyframes in time — one or many in a single undo step. Each move = { clipId, prop, from, to } with `from` the keyframe's current time and `to` the new one (SOURCE seconds for media clips, seconds from tlStart for titles/shapes — the same axis animate uses). `prop` is any animate prop; colour knobs also take their set_color names (liftR, vignette, skinHue). Read the current keyframes from get_project_digest.

- `moves` (array of object, required)

### remove_keyframe

Remove keyframe · changes the project

Delete one keyframe of a clip property at time `t` (same axis as animate). The property keeps animating between the points that remain; with one point left it holds that value.

- `clipId` (string, required)
- `prop` (string, required)
- `t` (number, required)

### clear_keyframes

Clear keyframes · changes or removes

Remove a clip's animation: every keyframe of `prop`, or of every property when `prop` is omitted. The clip keeps its static values.

- `clipId` (string, required)
- `prop` (string)

### set_transition

Set transition · changes the project

Set the transition from a clip into the NEXT one — between Video 1 clips, or between flush clips on the same overlay row. type ∈ crossfade | slide-fade | dip-to-black | dip-to-white | slide-left | slide-right | slide-up | slide-down | wipe | zoom-punch | blur-dissolve, or 'none' to remove it. durationSec 0.05–5 (default 0.5): the next clip starts that much before this one ends. Pass the LEADING clip's id.

- `clipId` (string, required)
- `type` (one of crossfade | slide-fade | dip-to-black | dip-to-white | slide-left | slide-right | slide-up | slide-down | wipe | zoom-punch | blur-dissolve | none, required)
- `durationSec` (number)

### set_audio_crossfade

Set audio crossfade · changes the project

Crossfade an audio clip into the next clip on its track over durationSec (0 removes it). Pass the leading clip's id (from get_project_digest).

- `clipId` (string, required)
- `durationSec` (number ≥ 0, required)

### add_title

Add title · changes the project

Add a text title at a timeline second (defaults to the playhead). Centered white bold by default — that default IS the machine-made look, so for designed type set the rest: fontId (studio fonts: inter, montserrat, oswald, bebas, rubik, unbounded, playfair, lora, caveat, dancing, jetbrains … or local:<family>), fontWeight, fontSizePx, color, align, plate (a solid colour behind EACH line — the highlighter-strip look), outlinePx + outlineColor, shadow, x / y (normalised from the canvas centre, y negative = up; with align left x is the LEFT edge), rotation, opacity. Use 
 for line breaks. Never put type on a face: use a plate, a brand-colour canvas or a flat part of the picture.

- `text` (string, required)
- `atSec` (number)
- `durationSec` (number)
- `fontSizePx` (number)
- `color` (string)
- `align` (one of left | center | right)
- `fontId` (string)
- `fontWeight` (number)
- `plate` (string)
- `outlinePx` (number)
- `outlineColor` (string)
- `shadow` (boolean)
- `x` (number)
- `y` (number)
- `rotation` (number)
- `opacity` (number)

### update_title

Update title · changes the project

Edit an existing title/text clip — `patch` sets text and/or style and/or transform (all merge). style: fontId, fontWeight, fontSizePx, letterSpacing (% of the font size, default 0), lineHeight (% of the font size, default 125), color, align, backgroundColor (the plate behind each line; null removes it), outlinePx, outlineColor, shadow, shadowColor, shadowBlurPx, blur. transform: x, y, scale, rotation, opacity. Also tlStart / durationSec / lane (any layer of the stack — the same lanes videos and shapes use). Shapes are edited with update_shape.

- `clipId` (string, required)
- `patch` (object, required)

### add_graphic

Add graphic · changes the project

Draw a graphic and lay it on the video as an image overlay — the shapes a designed ad is made of: CTA pills, price tags, stickers and bursts, rating badges, plates, gradients, arrows, underlines. shape: rect | pill | circle | burst | star | arrow | line | ticket | bubble (speech bubble, tail: left|right) | blob (organic shape, seed) | sparkle | squiggle (waves, strokePx) | dots (halftone field: patternPx, gapPx, falloff) | stripes (diagonal: patternPx, gapPx, fillAngle). fill:'none' = outline only (ring/frame with strokePx). Size: width/height in px (omit with text and it fits the text). Colour: fill (+ fillTo + fillAngle for a gradient), strokePx + strokeColor, radius (rect), points (burst/star), shadowBlur + shadowColor + shadowY. Text inside: text (\n for lines), textColor, fontId, fontWeight, fontSizePx. icon: arrow | check | star as a round badge at the right end (iconBg, iconColor). Placement: atSec, durationSec (default: to the end of the picture), x / y (normalised from the canvas centre), widthPx (the shape's own width on the canvas), rotation, opacity. Each call goes on a new layer on top, so layering follows call order. RECIPES — CTA pill: {shape:'pill', text:'Start free', fill:'#101B2D', textColor:'#FFF4DC', fontId:'rubik', fontWeight:800, fontSizePx:58, icon:'arrow', iconBg:'#FFD23F', iconColor:'#101B2D', y:0.3}. Offer sticker: {shape:'burst', width:360, fill:'#FF5A47', text:'50%\nOFF', textColor:'#FFF4DC', fontId:'unbounded', fontWeight:900, fontSizePx:84, rotation:-8, strokePx:0}. Price tag: {shape:'ticket', text:'from €14', fill:'#FFD23F', textColor:'#101B2D', fontSizePx:64}. Rating badge: {shape:'pill', text:'4.9  12k backpackers', fill:'#FFF4DC', textColor:'#101B2D', icon:'star', iconBg:'#F2A900', iconColor:'#FFFFFF'}. Full-canvas gradient background: {shape:'rect', width:1080, height:1920, fill:'#7B61FF', fillTo:'#4A3BD1', fillAngle:90}. Underline: {shape:'line', width:420, height:14, fill:'#FFD23F'}. Real logos are NOT drawn — import the author's file. Same brand colours and faces in every call.

- `shape` (one of rect | pill | circle | burst | star | arrow | line | ticket | bubble | blob | sparkle | squiggle | dots | stripes, required)
- `width` (number)
- `height` (number)
- `fill` (string)
- `fillTo` (string)
- `fillAngle` (number)
- `strokePx` (number)
- `strokeColor` (string)
- `radius` (number)
- `points` (number)
- `seed` (number)
- `tail` (one of left | right)
- `patternPx` (number)
- `gapPx` (number)
- `falloff` (boolean)
- `waves` (number)
- `text` (string)
- `textColor` (string)
- `fontId` (string)
- `fontWeight` (number)
- `fontSizePx` (number)
- `icon` (one of arrow | check | star)
- `iconBg` (string)
- `iconColor` (string)
- `shadowBlur` (number)
- `shadowColor` (string)
- `shadowY` (number)
- `atSec` (number)
- `durationSec` (number)
- `x` (number)
- `y` (number)
- `widthPx` (number)
- `rotation` (number)
- `opacity` (number)

### add_shape

Add shape · changes the project

Draw a live vector SHAPE layer — the same object the user draws with the Shapes tool: kind ∈ rect | ellipse | triangle | star | line | arrow. It lands on its own layer on TOP of the stack (move it with set_layer_order); edit it later with update_shape; animate ANY value with animate (x/y/scale/rotation/opacity, blur, shapeW, shapeH, shapeRadius, shapeFillOpacity, shapeBackdrop, shapeStrokePx, shapeShadowBlur, and colours shapeFillColor / shapeStrokeColor / shapeShadowColor with v = 0xRRGGBB as a number). Geometry in canvas px: w, h (line: w = length, h = thickness; arrow: w = length, h = shaft thickness; rotate with rotation), x / y = the centre normalised from the canvas centre. Look: fill (hex colour), fillOpacity 0-100, radius (rect corners, px), strokePx + strokeColor, shadowBlur + shadowColor (an even halo AROUND the outline — never a dirty drop shadow under glass) and shadowInset (inner shadow), backdropBlur (px — blurs everything UNDER the shape inside its outline: frosted glass; pair with fillOpacity 10-30 and a thin white stroke), blur, mask (the shape is not painted; it clips the layer right above it in the order — a video in a rounded card). Timing: atSec (default playhead) + durationSec (default to the end of the picture), or wholeSheet:true. Prefer this over add_graphic when the shape must stay editable, animate, mask or be glass; add_graphic is for text-carrying badges, bursts and patterns. GLASS PANEL RECIPE: {kind:'rect', w:900, h:300, radius:48, fill:'#FFFFFF', fillOpacity:18, backdropBlur:36, strokePx:3, strokeColor:'#FFFFFF', shadowBlur:60, y:0.25} then add_title on top of it.

- `kind` (one of rect | ellipse | triangle | star | line | arrow, required)
- `w` (number)
- `h` (number)
- `x` (number)
- `y` (number)
- `atSec` (number)
- `durationSec` (number)
- `wholeSheet` (boolean)
- `rotation` (number)
- `opacity` (number)
- `fill` (string)
- `fillOpacity` (number)
- `radius` (number)
- `strokePx` (number)
- `strokeColor` (string)
- `shadowBlur` (number)
- `shadowColor` (string)
- `shadowInset` (boolean)
- `backdropBlur` (number)
- `blur` (number)
- `mask` (boolean)

### update_shape

Update shape · changes the project

Edit a shape layer — `patch` merges: geom ({w, h, radius} keeps the kind; a full geom with another kind replaces it), fill (hex or {from, to, angle} gradient; null = no fill), fillOpacity 0-100, stroke ({color, px, dash?} or null), shadow ({color, blur, y?, inset?} or null), backdropBlur, blur, mask, transform ({x, y, scale, rotation, opacity}), span ({tlStart, durationSec}), name. Values that animate are edited with animate instead (a keyframed value ignores a plain write).

- `clipId` (string, required)
- `patch` (object, required)

### set_layer_order

Set layer order · changes the project

Reorder the picture's layers — ONE ordinary layer order for everything (the main track, every video/image overlay, title, shape and the captions block). Read the current order bottom→top from the digest's `layerOrder` (keys: "main", "ov:<clipId>", "tx:<clipId>", "sh:<clipId>", "captions"). Either pass `order` (the full new bottom→top list) or move one layer: `layer` + `above` (the key it should sit right above; null = the very bottom). Captions can go under a video layer too. The timeline is ONE stack of rows: a key moves its whole row (things sharing a lane move together); Video 1 and the captions are rows like any other.

- `order` (array of string)
- `layer` (string)
- `above` (string | null)

### enhance_audio

Enhance audio · changes the project

Clean up bad audio on a clip — on-device noise/hiss/hum removal, room echo/reverb removal on spoken voice, + a voice EQ. Always do this when a clip sounds noisy, echoey, roomy, or hissy; good audio matters more than good video. Presets: 'natural' (default — denoise + de-room, no EQ; same as Sound Enhancer's auto-run), 'podcast' (warm broadcast EQ + compression), 'vocal' (bright/present — for a SUNG vocal, keeps its reverb), 'voiceover' (tight, dry), 'instrument' or 'music' (gentle content-safe denoise + warm shaping for MUSICAL audio — the voice presets would gut music). Pass 'off' to remove it. `strength` 0-100 = HOW HARD to run it (default Strong ≈ 67; 0 = balanced, 100 = maximum, a 2-pass run with a VAD gate on voice — reach for it only on genuinely bad audio, it costs naturalness), `boost` 0-100 lifts the cleaned level. `clipId` = any video or audio clip with sound (from get_project_digest). The preview plays the REAL cleaned sound once the neural pass finishes (seconds — original plays meanwhile); export runs the same pipeline.

- `clipId` (string, required)
- `preset` (one of natural | podcast | vocal | voiceover | instrument | music | off)
- `strength` (number)
- `boost` (number)

### generate_voice

Generate voice · changes the project · not on the connector

Synthesize a voiceover ON-DEVICE and place it on an audio track at the playhead (or the nearest later free gap). Same path as Studio's Generate voiceover panel. `text` is the script. Two engines via `voice`: natural English Kokoro ids (af_heart/af_bella/af_nicole/am_michael/am_fenrir/am_puck), OR plain multilingual readers (st_f1…st_f5 / st_m1…st_m5) — for readers pass `lang` (en/ru/de/fr/es/…; 31 codes, default en). Optional `speed` around 1. Optional `trackId`. FIRST CALL downloads the chosen model (Kokoro ~90–300MB; Supertonic ~400MB) and can take MINUTES — tell the user and wait. Returns clipId/media/durationSec; unknownWords only applies to Kokoro dictionary misses.

- `text` (string, required)
- `voice` (one of af_heart | af_bella | af_nicole | am_michael | am_fenrir | am_puck | st_f1 | st_f2 | st_f3 | st_f4 | st_f5 | st_m1 | st_m2 | st_m3 | st_m4 | st_m5)
- `lang` (string)
- `speed` (number)
- `trackId` (string)

### mute_track

Mute track · changes the project

Mute or unmute an audio track by trackId (from get_project_digest).

- `trackId` (string, required)
- `muted` (boolean, required)

### set_audio_props

Set audio props · changes the project

Set a clip's audio properties (volume/gain, fades, …) — `patch` merges. See get_guide('commands') for the fields.

- `clipId` (string, required)
- `patch` (object, required)

### duck_music

Duck music · changes the project

Lower every Music-track clip by amountDb (default 18) so dialogue stays intelligible. Static bed duck — not sidechain. After calling, get_mix_audio and read loudness.note.

- `amountDb` (number)

## Canvas, boards and projects

### set_format

Set format · changes the project

Resize the canvas to a social format preset: '16:9', '9:16', '1:1', '4:5' or '4:3'.

- `preset` (string, required)

### set_canvas

Set canvas · changes the project

Set the canvas width/height/fps/background colour, or previewQuality ('auto' | 'economy' | 'draft' | 'balanced' | 'full' — playback decoder cap; full = original resolution on this sheet). backgroundMode: 'color' (the `background` hex — a brand-colour canvas), 'blur' (a blurred copy of the main clip fills the frame) or 'image' (cover-fits `backgroundImage`, a bin mediaId).

- `width` (number)
- `height` (number)
- `fps` (number)
- `background` (string)
- `backgroundMode` (one of color | blur | image)
- `backgroundImage` (string)
- `previewQuality` (one of auto | economy | draft | balanced | full)

### set_doc_name

Rename the document · changes the project

Rename the project.

- `name` (string, required)

### list_sheets

List sheets · reads

List the project's PAGES (sheets) — id, name, size, clip count, and which is active. Each sheet is its own timeline; the editing tools act on the ACTIVE sheet. Switch with switch_sheet.

### create_sheet

Create sheet · changes the project

Create a new blank page (sheet) and switch to it — for a fresh variation or a new part of the project.

### switch_sheet

Switch sheet · changes the project

Open a page (sheet) by id (from list_sheets), making it the active timeline for subsequent edits.

- `id` (string, required)

### duplicate_sheet

Duplicate sheet · changes the project

Duplicate the ACTIVE page into a new sheet, optionally at a new size — the clean way to make a per-format variant (e.g. a 1080x1920 9:16 copy of a 16:9 edit). `name` labels the copy.

- `name` (string, required)
- `width` (number)
- `height` (number)

### delete_sheet

Delete sheet · changes or removes

Delete a page (sheet) by id. The user can restore the last-deleted sheet in the UI.

- `id` (string, required)

### list_projects

List projects · reads

List the user's PROJECTS (isolated boards) — id, name, page count, and which is active. A project is a whole separate board with its own pages/sheets and its own media; switching projects changes everything you see. (Pages within one project are list_sheets.)

### create_project

Create project · changes the project

Create a new project (a fresh, empty isolated board) and switch to it. Use this to start unrelated work instead of adding pages to the current board. `name` labels it.

- `name` (string)

### switch_project

Switch project · changes the project

Open a project by id (from list_projects), making its board active for all subsequent edits.

- `id` (string, required)

### rename_project

Rename project · changes the project

Rename a project by id.

- `id` (string, required)
- `name` (string, required)

### delete_project

Delete project · changes or removes

Delete a project (its whole board and media) by id. Destructive — the user can't undo this from the UI, so confirm intent before calling.

- `id` (string, required)

## Export and plan

### export_video

Export video · changes the project

Render the project to a file and hand it back to you so you can give it to the user directly in the conversation — no upload, no cloud. The finished file is ATTACHED to this tool's result (as a resource) whenever it fits the channel; a large render (long or 4K) is too big to attach and instead downloads to the user's device (the result says so — tell them). `fullQuality` = original-format high-bitrate render; `audioOnly` ('mp3'|'m4a') = audio-only. Set `deliver:false` to just save it to the user's device without attaching. `saveTo` (the local CLI's receiver URL only — used by export_to_path, not something to set yourself) PUTs the finished file straight to a local receiver, no size cap. Rendering is on-device and can take a while. Exports carry no watermark.

- `fullQuality` (boolean)
- `audioOnly` (one of mp3 | m4a)
- `deliver` (boolean)
- `saveTo` (string)

### get_plan_status

Get plan status · reads

Read-only: the account's plan and its agent-task allowance — limit, used, left and resetAt over a rolling 30 days (null when unlimited). A task is one contiguous stretch of edits on this connection (30 min idle closes it; 8 h cap). Exports do not count. Useful before a long multi-step job, or to tell the user when a refused edit can run again.

## Control

### dispatch

Apply a timeline command · changes or removes · not on the connector

Apply one timeline command that has no dedicated tool — transitions, overlay/PiP placement, keyframe moves, lane moves, caption line tweaks. `command.type` must be one of the listed command types; get_guide('commands') gives each one's fields. One labeled undo step; a named tool is clearer when one exists.

- `command` (object, required)

### undo

Undo · changes the project

Undo YOUR last change. When the user is signed in and editing live beside you, this only ever reverts your own steps — their edits stay, and their Cmd+Z never reverts yours.

### redo

Redo · changes the project

Redo your last undone change.

### checkpoint

Checkpoint · changes the project

Save a checkpoint you can roll back to. Take one before a risky multi-step edit, then restore_checkpoint if it goes wrong.

- `label` (string)

### restore_checkpoint

Restore checkpoint · changes or removes

Roll the project back to a checkpoint id returned by `checkpoint`.

- `id` (string, required)

### get_guide

Read an editing guide · reads

Read an editing guide for a topic. Two layers. Operational (how this studio works): workflow (order of operations), editing, captions, color, formats, pacing, audio, sheets, projects, commands (which tool makes which timeline edit), pricing (plan facts, for when the user asks). CRAFT LIBRARY — film and editing technique written against these tools (montage, camera and composition, colour, sound, per-genre playbooks): get_guide('index') lists every slug, e.g. 'talking-head', 'short-form-vertical', 'comedy-timing', 'rule-of-six', 'cutting-on-action', 'mood-through-color', 'ducking-and-mix-balance', 'restraint-and-taste', 'visual-hierarchy'. The genre playbook that matches the piece is the most useful starting point. Paid-social ads: submit_edit_brief with kind:'ad' expects 'ad-creative' and 'design-pool-techniques' to have been read ('ad-creative-examples' and 'design-pool' list references, font pairs, palettes, layouts, motion and hook formulas). Read-only.

- `topic` (string, required)

### get_style_profile

Get style profile · reads

Read the user's board notes and remembered style: effective/project/global profiles — notes, caption preset, colour, pacing, music, format, and the last edit brief. Returns a `reason` instead when the account has no notes, notes are off, or nothing is saved. Reading it before start_edit_brief lets the edit follow the user's saved taste.

### set_style_profile

Set style profile · changes the project

Update the user's board notes / remembered style. Patch-merge; null deletes a field; scope 'project' (default) or 'global'. Content fields require notes on and 'Allow AI to update them'. Toggle notesEnabled / aiMayUpdateNotes when the user asks. Refuses with a `reason` when the account has no notes.

- `patch` (object, required)
- `scope` (one of project | global)
