Frapea

com.frapea/editor

Serveur MCP OK

Faire examiner Voir les tarifs

A video editor in your browser that your AI drives: cuts, captions, multicam, motion titles, export.

Fiche technique

Auteur
frapea.com (espace de noms du registre)
Dépôt
—
Site
frapea.com
Version
0.2.0
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://app.frapea.com/mcp Streamable HTTP
Outils
68
Catégories
Images, audio et vidéo, Recherche et web
Dernière mise à jour
11 oct. 2026
Publication
11 oct. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/com.frapea/editor.svg)](https://latlas.dev/mcp/com.frapea/editor)
HTML
<a href="https://latlas.dev/mcp/com.frapea/editor"><img src="https://latlas.dev/badge/fiche/com.frapea/editor.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://app.frapea.com/mcp
Dernier résultat
OK 28 nov. 2026, 10:22
Temps de réponse
820 ms (initialize + tools/list)
Version du protocole
2025-06-18
Nom annoncé
frapea 0.2.0
Outils
68

Historique

DateRésultatRéponseOutils
28 nov. 2026, 10:22OK820 ms68

Outils exposés (68, réponse à tools/list, 28 nov. 2026)

connect

Connect to Frapea

Pairs you with the user's Frapea browser tab. TWO WAYS ROUND. (1) If they already have Frapea open: ask them for the pairing code (the "Connect your AI" button at the top of Frapea) and call this with it. (2) If they do not, or you are not sure: call this with NO arguments and you get back a link — send them the link, then call this again with the code it contains every few seconds until it returns a token (they have to accept it in their browser first). Either way you end up with a session token to pass on every later call. Codes are single-use and expire in ten minutes; a token lasts until the user disconnects.

ParamètreTypeRequisDescription
codestringnonThe 8-character code — from the user's screen, or from the link this tool gave you. Omit it to get a link to send them.

get_projects

List projects

Lists the projects Frapea knows on this machine: id, name, lastOpenedAt, and for a project stored in a folder on disk its `folder` (the directory's name — files you write into its `media/` subfolder join the pool by themselves). Call first to find the projectId every other tool needs. A project the browser has no permission for will surface PERMISSION_REQUIRED when used — relay the returned instruction to the user, then retry. ALSO RETURNS `providers` — Pexels (stock video/photos), Freesound (music, ambience, SFX) and ElevenLabs (voiceover), each 'connected' | 'checking' | 'missing' | 'invalid'. These are the user's OWN API keys and they cannot be set from here. When any is not usable, `providersAdvice` is present: a short note for the user saying which and where they connect them (only the user can add a key). When everything is connected it is absent. A call that fails with PERMISSION_REQUIRED carries its own instruction for the user.

ParamètreTypeRequisDescription
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

get_timeline

Get timeline

Reads a project's timeline structure: timelines (id, name, fps, resolution) with tracks and clips. THE USER CAN COPY A CLIP'S ID from the editor's right-click menu, so a bare UUID in their message names exactly one clip — call this with NO timelineId to search every timeline and match `clip.id`, rather than guessing from a name. Clips carry id, name, mediaRef, kind, startFrame, endFrame (exclusive), trimStartFrame and linkGroupId (linked A/V pairs share it), plus `look` (opacity, blend, transform, crop, keyframes, volume, fadeInFrames, fadeOutFrames) whenever any of it differs from the defaults — an untouched clip has no `look` key. Omit timelineId to get every timeline; frames are in that timeline's fps.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringnonOptional single timeline to read.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

get_media

List media

Lists the project's media library: mediaRef (the id clips use), name, kind (video/audio/image), durationSeconds, resolution, and sceneSamples — timestamps (seconds) where the visual indexer detected distinct moments. sceneSamples is a ready-made shot map: inspect or cut at those times first. Each asset also carries visualIndex and transcript objects: {phase: 'ready'|'pending'|'queued'|'running'|'failed'|'no-audio'|'disabled', error, attempts, sealed}. Analysis starts by itself and retries a failure a few times before sealing it. If a phase is 'failed', read `error` and decide: call retry_analysis to run just that one analysis again, or leave it. If 'disabled', call request_ai_models. Video and audio assets also carry beats: {phase: 'ready'|'pending'|'failed'|'none', bpm, confidence}. These come from an ONSET detector (spectral flux): every energy rise — drum hits, plucks, syllables — not bars or downbeats. bpm is the tempo of those onsets, or null when there is no steady pulse (confidence 0–1 below the detector's 0.3, or too few onsets) — speech has onsets and no bpm. 'none' = no audio to analyze. Pass mediaRef to get ONE asset with beats.onsetsSec (source seconds, the first 2000; truncated + onsetCount say when there are more) — map them through the clip's trim and speed yourself.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
mediaRefstringnonOptional: return only this asset, as {asset}, with its onset times. Omit to list every asset (no onset times).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

get_transcript

Get transcript

Returns the word-level speech transcript of one media asset: language and words [{text, startSec, endSec}]. Only assets the user has transcribed have one — NOT_FOUND means ask the user to run Transcribe on the clip in Frapea. Use the timestamps to align cuts with what is being said.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
mediaRefstringouiAsset reference from get_media.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

create_motion_composition

Create motion composition

Creates a MOTION COMPOSITION — an animated graphic (infographic, title, promo end-card, chart…) written as a React TSX component. Read the 'motion' skill (read_skill {topic:'motion'}) for the exact API surface, available fonts/icons and golden examples before writing one. files maps file names to TSX source; the entry must `export default` the component. schema declares the editable props (type string|number|color|boolean|select|mediaRef + default) — they become Inspector controls the user can tweak, so parameterize colors, copy and media slots. The composition is compiled and test-rendered BEFORE saving; on failure the error returns verbatim — fix the code and retry. Returns the mediaRef to place with add_clips. Creative guidance is in read_skill {topic:'motion'}. With UI-like parts (buttons, pills, progress bars, cards), write them in their own file with a partsBoard prop (default false) and look at the board first: preview:true, previewProps:{partsBoard:true} returns one large frame with the reply.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
namestringouiDisplay name, e.g. 'Pink promo end card'.
filesobjectouiFile name → TSX source. Relative imports between them work.
entrystringnonEntry file (default composition.tsx); must export default.
schemaobjectnonEditable props: {key: {type, default, label?, min?, max?, options?, multiline?}}. type mediaRef makes a media-pool slot.
widthnumbernonComposition width px (default 1920).
heightnumbernonComposition height px (default 1080).
fpsnumbernonComposition fps (default 30).
durationInFramesnumbernonLength in frames (default 150).
previewbooleannonReturn one large frame (≤1560 px) with the reply. Media is not loaded in a preview: media slots draw empty and the reply says how many.
previewPropsobjectnonMerged over the schema defaults for the preview picture only, e.g. {partsBoard:true}. Nothing saved changes.
previewFramenumbernonFrame to preview (default 0).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

update_motion_composition

Update motion composition

Updates a motion composition's TSX files and/or manifest (name, duration, schema…). Same compile-and-test gate as create; files given here MERGE over the existing set. Every clip playing the composition re-renders. preview:true returns one large frame of the result with the reply.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
compositionIdstringouiFrom create/list_motion_compositions.
filesobjectnonFile name → TSX source (merged).
namestringnon
schemaobjectnon
widthnumbernon
heightnumbernon
fpsnumbernon
durationInFramesnumbernon
previewbooleannonReturn one large frame (≤1560 px) with the reply. Media is not loaded in a preview: media slots draw empty and the reply says how many.
previewPropsobjectnonMerged over the schema defaults for the preview picture only, e.g. {partsBoard:true}. Nothing saved changes.
previewFramenumbernonFrame to preview (default 0).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

get_motion_composition

Get motion composition

Returns a motion composition's manifest and full TSX sources.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
compositionIdstringouiComposition id.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

list_motion_compositions

List motion compositions

Lists the project's motion compositions: id, mediaRef (for add_clips), name, size, fps, duration and the editable props schema.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

create_timeline

Create timeline

Creates a new timeline in the project and returns its id. Set fps, width and height for the target format (e.g. 1080×1920 @30 for a vertical short). The new timeline starts with one video and one audio track; spare tracks appear automatically as clips land.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
namestringouiDisplay name, e.g. 'TikTok short'.
fpsnumbernonOptional frames per second (default 30).
widthnumbernonOptional width in px (default 1920).
heightnumbernonOptional height in px (default 1080).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

add_clips

Add clips

Places media segments on a timeline. Each clip: mediaRef (from get_media, 'timeline: ' to NEST another timeline as a clip, 'solid:#rrggbb' , 'motion: ' for a MOTION composition (create_motion_composition) for a generated solid-colour matte, 'adjustment:' for an adjustment clip — no picture of its own, its effects/masks/opacity grade everything below it — or 'text:' for a title, restyled via set_clip_properties' `text`), atFrame (timeline position), sourceInSec/sourceOutSec (the segment of the source to use — align these with transcript words or sceneSamples), and optional trackId (from get_timeline) to target a specific same-kind track — without it clips land on V1/A1 with overwrite semantics. A spare empty track always exists above the highest used one, so V2/A2 is available before anything sits on it. Video sources with audio get a linked audio clip automatically (on the matching A track: V2 ⇒ A2). Returns the created clip ids in order. Frames are in the target timeline's fps.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTarget timeline id from get_timeline.
clipsarray<any>oui[{mediaRef, atFrame, sourceInSec, sourceOutSec, trackId?}] — segments in playback order; trackId targets a specific track (default V1/A1).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

split_clips

Split clips

Blades clips at a timeline frame. Splits every listed clip (and its linked partner) into two independent clips at atFrame. Frames are in the target timeline's fps. Use with get_timeline to find clip ids first.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTimeline containing the clips.
clipIdsarray<any>ouiClip ids to split.
atFramenumberouiTimeline frame to cut at (must lie inside each clip).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

remove_clips

Remove clips

Deletes clips (lift — leaves a gap). Linked partners are NOT removed automatically; pass both ids of a pair to delete it whole. To close the gap too, use ripple_delete_ranges instead.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTimeline containing the clips.
clipIdsarray<any>ouiClip ids to delete.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

ripple_delete_ranges

Ripple delete ranges

Extracts [fromFrame, toFrame) on one track and shifts everything after it left to close the gap (sync-locked tracks follow). The go-to tool for tightening a cut or removing a bad take.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTarget timeline.
trackIdstringouiTrack id from get_timeline.
fromFramenumberouiRange start (inclusive).
toFramenumberouiRange end (exclusive).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

set_clip_properties

Set clip properties

Adjusts a clip. Only the provided fields change. Mix: volume (0–4, 1 = unity; volume keyframes, when the clip has any, override it), fadeInFrames / fadeOutFrames (gain or opacity ramps at the edges). Look: opacity (0–1), blend (normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | add), transform, crop and speed. transform.fit picks how the picture meets the frame before scaling: contain (letterbox, default) | cover (fill + crop overflow) | fill (stretch, ignores aspect). Identity = contain fit; position is offset from centre in timeline pixels (y down), scale multiplies the fitted size, rotationDeg is clockwise about the anchor (a fraction of the cropped picture, 0.5/0.5 = centre). Crop takes fractions off each edge of the source. Retiming: `speed` (constant rate/direction) and `speedKeyframes` (source-anchored rate curve; reflows length). Shape masks: `masks` (full-list replace). `disabled` parks a clip (it stays but neither renders nor sounds — DaVinci's D). `text` restyles text clips (mediaRef 'text:'). `motion` customizes MOTION clips (mediaRef 'motion: ') per clip.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTimeline containing the clip.
clipIdstringouiClip to modify.
volumenumbernonOptional new volume, linear 0–4 (1 = unity, 4 ≈ +12 dB).
fadeInFramesnumbernonOptional fade-in length in frames.
fadeOutFramesnumbernonOptional fade-out length in frames.
opacitynumbernonOptional static opacity 0–1.
blendstringnonOptional blend mode (see description).
transformobjectnonOptional partial transform; provided keys replace, others stay.
cropobjectnonOptional partial crop, fractions 0–1 of the SOURCE off each edge (the inspector shows source pixels). Crop is a window: it cuts pixels away without moving or re-fitting the picture; edges may meet (the picture vanishes).
cropSoftnessnumbernonOptional crop-edge feather, fraction of the source width 0–0.5 (the inspector shows source pixels). Keyframable as 'cropSoftness'.
cropRetainbooleannonOptional. True = Resolve's 'Retain Image Position': the crop window stays fixed in the frame while transforms move the picture underneath it.
dynamicZoomobjectnonOptional Ken Burns move (Resolve's Dynamic Zoom): animates the framing from `start` to `end` over the clip's WHOLE duration (retimes when the clip is trimmed). Rects: centre x/y as picture fractions (0.5/0.5 = middle) and scale (1 = whole picture, 0.5 = half → 2× zoom). Setting framing or ease swit…
speedobjectnonOptional retiming (Resolve's Speed Change). rate 1 = 100 % (0.01–50); direction forward | reverse | freeze; freezeFrame = held source frame (offset from trim-in) while frozen; pitchCorrection keeps the audio's pitch. Keyframes stay glued to the pictures (they are source-anchored). Combine with spee…
speedRipplebooleannonRipple Timeline for this speed edit (see `speed`).
stabilizationobjectnonOptional stabilization knobs (Resolve's Stabilization). The expensive motion tracking is a per-media analysis — run it with the stabilizer; these values post-process its cached path instantly. mode perspective | similarity | translation; cameraLock kills ALL motion (ignores ratio/smooth); zoom scal…
denoiseobjectnonAI voice denoise (dry/wet). Setting it (or enabling the section) queues the cached background render for the clip's source file.
lensDistortionnumbernonOptional Lens Correction Distortion, -1–1. Positive straightens wide-angle barrel distortion, negative adds it. 0 = none.
motionBlurobjectnonOptional SHUTTER MOTION BLUR from the clip's own movement: each frame is the average of `samples` sub-frame renders spread over the open shutter, each at the position/scale/rotation (keyframes, dynamic zoom, tracking) the clip has at that instant — so a fast move streaks along its path and a still…
solidColorstringnonOptional, solid-colour matte clips only: recolour the matte (#rrggbb). Mattes are created by add_clips/insert_clips with mediaRef 'solid:#rrggbb'.
bypassobjectnonOptional section switches, true = section OFF (its values are kept but not applied) — the inspector's per-section toggles.
disabledbooleannonOptional. True disables the clip (and its A/V link partners): it stays on the timeline but neither renders nor sounds. False re-enables. The multicam angle switch is built on this.
speedKeyframesarray<object>nonOptional source-anchored speed keyframes (forward-direction clips only): [{atSourceFrame, rate}], rate 1 = 100 %. Rate is CONSTANT between points (held outside). Present, it replaces `speed.rate` AND REFLOWS the clip's timeline length to keep the same source window (slower ⇒ longer); the A/V link g…
masksarray<object>nonOptional shape masks, FULL-LIST replace (empty array removes all). Masks UNION (Resolve's additive Power Windows); `invert` flips one mask's coverage. Geometry in fractions of the SOURCE picture, centre 0.5/0.5 — masks ride the clip's transform. Each: {shape: rect|ellipse, center{x,y}, size{x,y}, r…
motionobjectnonOptional MOTION clip customization (clips with mediaRef 'motion: '). props: partial patch over the composition's schema-declared props ({key: value}; a key set to null resets it to the composition default). get_motion_composition lists the schema; per-clip values override its defaults.
textobjectnonOptional TEXT clip restyle (clips with mediaRef 'text:'; create them with add_clips). Partial patch: content ( breaks lines), fontFamily (Inter | DM Sans | Space Grotesk | Bebas Neue | Playfair Display | Caveat), sizeFraction (of frame height), bold, italic, color (#rrggbb), align (left|center|righ…
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

generate_captions

Generate captions

Generates animated captions from a spoken clip's transcript (the same generator as Frapea's UI): transcript words group into caption text clips over the clip's span, word-timed so the animation follows speech. One undo, and they share a captionGroupId — restyle them all via set_clip_properties with text.wholeCaptionGroup. Needs a transcript (get_transcript tells you). Returns the created clip ids. PLACEMENT: they JOIN the existing caption track whenever they fit in its gaps, and only open a new one when they would overlap (a second language, a second layer). So captioning four narration segments in four calls leaves ONE caption track, not four — no tidying needed afterwards for this. Call manage_tracks {action:'tidy'} at the end of the build for the empty tracks left by everything else. They join the LOWEST caption track, so a picture layer you add ABOVE it after an earlier pass will cover them — captions render behind b-roll rather than looking wrong, which is the hardest kind of mistake to notice. Move the whole lane with manage_tracks {action:'merge'} if you want the captions on top.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTimeline containing the spoken clip.
clipIdstringouiThe spoken clip to caption.
presetstringnonStyle preset: clean (default) | boldPop | karaoke | highlight | minimal | editorial.
positionstringnonbottom (default) | top.
textCasestringnonoriginal (default) | upper | lower.
censorProfanitybooleannonStar out profane words.
maxWordsPerCaptionnumbernonWords per caption before a new one starts (default 4).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

manage_effects

Manage effects

Edits a clip's effect stack (ordered, per-effect enable). action: 'add' (type; returns the new effect's id) | 'remove' (effectId) | 'move' (effectId + toIndex — the order IS the render order) | 'toggle' (effectId + enabled) | 'set' (effectId + params patch, clamped to the effect's ranges) | 'curve' (effectId + curve + points). Types: 'colorBasic' (Lumetri Basic Correction-compatible: temperature/tint -100..100, exposure -5..5 stops, contrast/highlights/shadows/whites/blacks -100..100, saturation 0..300, vibrance -100..100), 'colorWheels' (Resolve lift/gamma/gain/offset — {group}Master/{group}R/G/B; lift/gamma 0 neutral, gain 1, offset printer points 25 neutral), 'lut' (.cube from the project library — set `resource`), 'curves' (tone curves), 'hueCurves' (hue-vs-hue/sat/lum). Also 'motionBlur' — NOT the shutter blur: a DIRECTIONAL blur filter (angle 0–360, distance 0–100) that smears every frame the same way whether the clip moves or not (a streak look, a speed effect on footage). For blur that follows the clip's own keyframed movement, use set_clip_properties motionBlur instead.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTarget timeline.
clipIdstringouiTarget clip.
actionstringouiadd | remove | move | toggle | set | curve
curvestringnonFor 'curve': which curve to replace. 'curves' effect: master|r|g|b (tone, identity = [0,0,1,1]); 'hueCurves': hueHue|hueSat|hueLum (x = hue with red at 0, y 0.5 = untouched).
pointsarray<number>nonFor 'curve': flat control points [x0,y0,x1,y1,…] in the unit square.
typestringnonEffect type for 'add'.
effectIdstringnonEffect instance id (from a previous add or get_timeline).
toIndexnumbernonTarget position for 'move' (0 = applied first).
enabledbooleannonFor 'toggle'.
paramsobjectnonFor 'set': partial param patch, e.g. { exposure: 1.5 }.
resourcestringnonFor 'set' on resource effects ('lut'): the LUT's library name (a .cube imported into the project). Empty string clears it.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

manage_transitions

Manage transitions

Transitions on a track's cuts OR lone clip edges (a free head/tail takes a single-sided fade from/to nothing; its alignment is forced). action: 'add' (trackId + atFrame = the cut where one clip ends and the next starts, + type; optional durationFrames (default 30, clamped to the clips' source handles), alignment centered|start|end, params) | 'remove' (transitionId) | 'update' (transitionId + any of type/durationFrames/alignment/params). Types: crossDissolve, dipToBlack, dipToWhite, wipe (params.angle deg, params.softness 0-100), slide (params.angle), push (params.angle). Both clips need source material past the cut — a transition that cannot fit is refused; edits that break the cut remove it. Returns {ok, transitionId?}.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTarget timeline.
trackIdstringouiTrack owning the cut (get_timeline).
actionstringouiadd | remove | update
atFramenumbernonThe cut frame for 'add'.
typestringnonTransition type.
transitionIdstringnonExisting transition id.
durationFramesnumbernon
alignmentstringnoncentered | start | end
paramsobjectnonType params patch (e.g. { angle: 90 }).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

manage_tracks

Manage tracks

Track operations on a timeline. action: 'mute' | 'unmute' | 'solo' | 'unsolo' (audio only; any solo silences non-solo tracks) | 'hide' | 'show' | 'rename' (needs name) | 'duck' | 'unduck' (audio only: dip this track under speech detected on the other audio tracks — transcript word timings when available, energy VAD otherwise) | 'merge' (needs intoTrackId: moves every clip of trackId onto another track of the same kind; refuses the WHOLE move if any clip would overlap, or if the source carries transitions) | 'delete' (an EMPTY track; refuses one that holds clips — deleting those is remove_clips, by name) | 'tidy' (NO trackId: drops the empty leftover tracks and renumbers). Track ids come from get_timeline. TIDYING UP, AND WHY ORDER MATTERS. Track counts only ratchet up while you build: a spare appears above whatever you fill, and the video and audio counts are kept EQUAL. That last rule is the one that surprises people — five video tracks force five audio tracks, however empty. So: 1. 'merge' the tracks that hold clips but need not be separate (captions from several passes, b-roll that never overlaps). This is what actually lowers the count. 2. 'tidy' once at the end. It settles both sides on one spare above the taller one and reports removedTracks. 'delete' on a single empty track usually reports removedTracks: 0 — the invariant puts it straight back to keep the counts equal. That is not a failure, it is why 'tidy' exists. Neither ever touches a clip, and both keep an empty…

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTarget timeline.
trackIdstringnonTrack to modify. Required for every action except 'tidy'.
actionstringouimute | unmute | solo | unsolo | hide | show | rename | duck | unduck | merge | delete | tidy
namestringnonNew name (rename only).
intoTrackIdstringnonDestination track (merge only) — same kind as trackId.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

cut_to_angle

Cut to camera angle

MULTICAM angle switch. The angles are ordinary video tracks stacked over each other (sync them beforehand — clips of the same take on V1..Vn); this razors the whole angle stack at `atFrame` and keeps only `chosenTrackId` live from there to the next cut — the other angles' clips are DISABLED, not deleted, so every switch stays re-decidable (cut again with a different angle to change your mind). Linked audio follows the video by default (audioFollowsVideo: false keeps audio untouched — the usual choice when one good mic carries the sound). angleTrackIds defaults to every video track with a clip under the frame. Refused when the chosen track has no clip at the frame.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTarget timeline.
atFramenumberouiThe switch point (timeline frame).
chosenTrackIdstringouiThe angle to show from atFrame on.
angleTrackIdsarray<string>nonOptional explicit angle set (video track ids).
audioFollowsVideobooleannonDefault true: linked audio toggles with its angle.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

move_clips

Move clips

Moves clips to new positions (linked partners follow automatically). Each move: clipId, toStartFrame, optional toTrackId (same-kind track). Overwrite semantics — landing on another clip trims it like a drag-drop.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTarget timeline.
movesarray<any>oui[{clipId, toStartFrame, toTrackId?}]
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

set_active_timeline

Set active timeline

Sets which timeline the project opens on (and what the user sees if the editor is open), opening its tab if it was closed. Purely a convenience — every tool here takes an explicit timelineId regardless.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTimeline to activate.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

set_project_settings

Set timeline settings

Updates a timeline's fps / width / height (clips keep their timing; content re-fits) and/or renames it. Only provided fields change.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTimeline to update.
namestringnonOptional new display name.
fpsnumbernonOptional new frames per second.
widthnumbernonOptional new width in px.
heightnumbernonOptional new height in px.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

search_media

Search project media

Semantic search over the project's media. Visual scope matches what is IN the picture (describe a shot: 'aerial city at night'); spoken scope matches transcribed speech (exact words, ranked first, with a snippet). Hits: {mediaRef, timeSec (best moment), fromSec, toSec, score, scope}. Requires the user to have downloaded the picture analyzer — otherwise PERMISSION_REQUIRED tells you what to relay.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
querystringouiWhat to look for — plain language.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

remove_words

Remove spoken words

Text-based editing: cuts the given transcript words OUT of a clip as ripple deletes (everything after each cut shifts left). wordIndices are positions in get_transcript's words array for the clip's media. Contiguous indices merge into single cuts. The go-to tool for removing filler words or tightening an interview.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTimeline containing the clip.
clipIdstringouiThe clip whose speech is being edited.
wordIndicesarray<any>ouiIndices into get_transcript words, e.g. [4,5,6,12].
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

remove_silence

Remove silences

Cuts silent gaps inside a clip: any pause between transcribed words longer than minGapSec becomes a ripple delete (a small margin is kept so speech never clips). Typical minGapSec: 0.6 tight, 1.0 balanced, 1.5 loose.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTimeline containing the clip.
clipIdstringouiThe clip to tighten.
minGapSecnumberouiMinimum pause length to cut (seconds).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

undo

Undo

Reverts the most recent edit THIS agent session made to the project (one step per call; repeat to go further). Cannot revert other tabs' or the user's edits.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

inspect_media

Inspect source frames

Looks INSIDE a source asset. Returns ONE contact sheet — every requested moment as a labelled cell in a single grid image — plus a per-cell fingerprint. Pass atSec (max 12 timestamps, seconds); combine with get_media's sceneSamples for an instant storyboard of the whole file. Shows the RAW source; use inspect_timeline for the composed cut. START WITH pixels:false WHEN YOU ARE ONLY CHECKING FOR EMPTINESS. The fingerprint answers 'is this black / flat / did it decode' for no image cost — nonBlankRatio near 0 is an empty or black frame, colorRange near 0 is a featureless one. Ask for pixels when you must judge WHAT is in the frame: subject, framing, legibility.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
mediaRefstringouiAsset from get_media.
atSecarray<any>ouiTimestamps in seconds, max 12.
pixelsbooleannonFalse = fingerprints only, no image (default true).
columnsnumbernonGrid columns (default 3, or one row if ≤3).
cellHeightnumbernonTarget px height per cell (default 300). Shrunk automatically if the sheet would exceed the response budget — the reply says so when that happens.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

inspect_timeline

Inspect timeline frames

WATCHES the cut. Composites every video layer at each requested frame and returns ONE contact sheet — the frames as labelled cells of a single grid image — plus, per cell, the visibleClipIds that contributed pixels and a fingerprint. Pass frames (timeline frame numbers, max 12). Use it to check an edit: this is the only tool that shows what actually PLAYS, as opposed to what get_timeline says is arranged. SAMPLE THE CUT POINTS AND THE MIDDLE OF EACH SECTION, not only frame 0. An entrance animation that never resolves, a graphic clipped by its own box, an offline clip rendering black — all look perfect in get_timeline and are obvious here. USE pixels:false FOR A CHEAP SWEEP. visibleClipIds plus nonBlankRatio confirms 'the right clip is in every slot and none of them is black' across a dozen positions with no image cost; spend pixels on the few frames where you must judge typography, framing or timing.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTimeline to render.
framesarray<any>ouiTimeline frame numbers, max 12.
pixelsbooleannonFalse = structure + fingerprints only, no image (default true).
columnsnumbernonGrid columns (default 3, or one row if ≤3).
cellHeightnumbernonTarget px height per cell (default 300). Shrunk automatically if the sheet would exceed the response budget — the reply says so when that happens.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

get_problems

Get problems

What has gone WRONG in the user's editor — renders that failed or stopped, footage that would not decode, chunks that could not be prepared for playback, exports that failed — each with WHERE (the timeline and frames, the source and its own frames, the footage and frame the engine could not decode) and the reason in the engine's own words. You also hear about new problems for free: every other tool result carries a `problems` list of what changed since your last call. Call this for the whole history, or after a `moreProblems` count. A problem that is open on a timeline means that timeline does NOT play or export correctly there, whatever inspect_timeline showed: fix the named layer (e.g. update_motion_composition) to fix it. `state` is open | fixed | superseded (the thing it was about was edited and not yet re-rendered — NOT proof it works) | dismissed.

ParamètreTypeRequisDescription
projectIdstringnonProject id from get_projects. Omit for every project in this browser.
includeResolvedbooleannonAlso list problems that are no longer open (default false).
detailbooleannonInclude the engine's raw diagnostic text per problem (default false — it can be long).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

get_bug_report

Prepare bug report

Prepare a BUG REPORT for the user: it opens in Frapea (Problems → Create bug report) for them to read and save. The report itself is NOT returned to you — it would leave the user's machine before they have seen it. You get a summary: open problems, media counts, and how many of the user's own words remain in composition code. It contains versions, problems with engine details, the project's structure with names and texts replaced, provider files by public id, the user's own files only as encoding fingerprints, and motion code. timelineIds limits it to those timelines and what they nest.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects (must be open in the editor).
timelineIdsarray<any>nonOnly these timelines and the timelines they nest (default: all).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

verify_timeline

Verify timeline

Renders a timeline the way an export does and reports what fails. inspect_timeline shows a few frames through the preview path, which quietly substitutes a nearby picture where a frame cannot be rendered; this renders every motion segment the timeline reads (through every nested timeline) exactly, then composites every frame with every layer (footage decoded), and fails where an export would. Returns {jobId}; poll get_job_status every ~5 s. When done, `result` is {verdict: ok | problems | incomplete, checked, notChecked, segments, chunks, problems: [...same shape as get_problems, with `related` warnings that often name the cause...], stale?, note}. `incomplete` is NOT a pass: something could not be checked. `stale: true` means the timeline was edited while it ran — verify again. Sound is not checked. Needs the project open in the editor tab you are paired with (error PROJECT_NOT_OPEN otherwise).

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTimeline to verify (nested timelines inside it are verified too).
cancelbooleannonStop the verification of this timeline that is running.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

insert_clips

Insert clips

Ripple-inserts media segments: everything at/after atFrame shifts right to make room (clips under the cut split). Same clip shape as add_clips. Use to splice a shot INTO an existing sequence without overwriting.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTarget timeline.
atFramenumberouiInsertion point (timeline frame).
clipsarray<any>oui[{mediaRef, sourceInSec, sourceOutSec}]
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

organize_media

Rename or unlink media

Pool file operations. action: 'rename' renames the real file on disk (needs newName; clips referencing the old name go offline). 'delete' UNLINKS the file from the media pool — the real file on disk is NOT touched; clips using it go offline until it is added again.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
mediaRefstringouiAsset from get_media.
actionstringouirename | delete
newNamestringnonNew file name incl. extension (rename).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

read_skill

Read editing guide

Returns Frapea's editing documentation for a topic. With no topic: the editing conventions, how the tools fit together and the current feature surface. MOTION topics: 'motion' is the API surface (imports, fonts, props schema, the parts-board-first golden example) and routes to the rest — read before create_motion_composition; 'motion-examples' (two finished pieces that differ in look); 'motion-craft' (anticipation, overshoot, stagger, the tells of machine-made motion — a companion to 'motion'); 'motion-text' (size floors, fitting copy that cannot clip, per-word animation, annotations); 'motion-effects' (grain, duotone, light leaks, blurs, glow); 'motion-transitions' (TransitionSeries, presentations, cut overlays); 'motion-sound' (where sound lives, the built-in SFX pack, placement and levels); 'motion-review' (the same loop as 'review', from a motion job). The CRAFT guides teach how to actually cut: 'core' (rhythm, b-roll, audio hierarchy, restraint — read first), then the format you are making — 'shorts' | 'longform' | 'podcast' | 'tutorial' | 'montage'. Also 'voiceover' (narration in segments, not one block), 'verify' (how to check a cut before export) and 'review' (rounds of critique against rendered frames, for a piece with an audience).

ParamètreTypeRequisDescription
topicstringnonOptional. Motion: motion | motion-examples | motion-craft | motion-text | motion-effects | motion-transitions | motion-sound | motion-review. Craft: core | shorts | longform | podcast | tutorial | montage | voiceover | verify | review.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

await_user_action

Wait for the user

Waits (up to ~45 s per call) for the user to resolve a pending Frapea prompt — e.g. the folder-permission dialog another tool just opened. The dialog waits for the user in the Frapea tab; the tool that opened it returned what they need to click. Returns {status: 'granted' | 'denied' | 'pending'}: 'pending' means they have not acted yet (call again to keep waiting), 'denied' that they declined.

ParamètreTypeRequisDescription
actionIdstringouiThe actionId a previous tool returned.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

open_project

Open project in the editor

Navigates the user's Frapea tab to a project so they can WATCH the edit live. Not required for editing — every tool works headlessly; use this for show-your-work moments. This reloads the Frapea tab, so an export or render running there stops.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

close_project

Close project

Navigates the user's Frapea tab back to the project manager and releases this session's headless runtime for the project. When the tab shows that project it reloads, so an export or render running there stops.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

new_project

New project

Creates a project. By default it is created in the browser's own storage, which needs no permission and no click: the project id comes back immediately and you can start working. The user can turn it into a real folder on their disk whenever they want (Cmd/Ctrl+S, or File → Save to a Folder) without losing anything. Pass storage:'folder' only when the user asked for a folder up front — that needs a browser security gesture, so it opens a dialog in Frapea with a 'Choose folder' button, returns an actionId, and you must tell the user IN YOUR REPLY to click it, then call await_user_action; on 'granted' the project appears in get_projects.

ParamètreTypeRequisDescription
namestringouiProject name, e.g. from the user's brief.
storageenum: "browser" | "folder"nonWhere the project lives. 'browser' (default) needs no user action. 'folder' asks the user to pick a directory on their disk.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

connect_media_folder

Ask to connect a media folder

Asks the user to attach a folder of THEIR OWN source footage to the project — opens a dialog in Frapea with a 'Connect folder' button. Only a human can do this (browser security gesture): tell the user IN YOUR REPLY to click it, then call await_user_action with the returned actionId; on 'granted', get_media will list the folder's files. Use when get_media comes back empty and the user has footage somewhere on their disk. NEVER call it for files YOU made or fetched (download_web_video and the stock tools put theirs in the pool themselves). The project folder's `media/` folder is scanned: any media file placed there joins the pool by itself (within a second, or when the user returns to the tab), with no dialog. `reason` is shown in the dialog word for word — say which footage you need and what you will do with it, so the user knows what to pick.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
reasonstringouiOne or two sentences for the dialog, addressed to the user: which folder to pick and why — e.g. 'Pick the folder with your trip clips from Lisbon, so I can cut them into the reel you asked for.'
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

trim_clips

Trim clips

Adjusts one edge of a clip (linked A/V partners follow). edge: 'start' trims/extends the in-point, 'end' the out-point. deltaFrames > 0 moves the edge right, < 0 left — e.g. edge 'end', delta -12 shortens the clip by 12 frames. Extending is limited by the source material.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTimeline containing the clip.
clipIdstringouiClip to trim.
edgestringouistart | end
deltaFramesnumberouiSigned frame delta for that edge.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

get_analysis_status

Get analysis status

How far the project's media analysis has got. Analysis runs BY ITSELF whenever media is connected. Returns percent (0-100) — 100 means nothing is OUTSTANDING, not that everything succeeded: `failed` lists items whose analysis failed (retry_analysis re-runs one) — done/total/pending item counts, runningItem {mediaRef, kind, progress}, etaSeconds (null until something has finished), blockedOnModels, and models {visual, speech}. Poll this while you wait; when blockedOnModels is above zero, call request_ai_models.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

request_ai_models

Ask to enable AI models

Asks the user to enable Frapea's on-device AI analyzers (picture search, speech). Opens a dialog in every Frapea tab and returns an actionId — tell the user IN YOUR REPLY to confirm it, then call await_user_action and poll get_analysis_status until models are enabled. Call this when get_media reports 'needs-models'.

ParamètreTypeRequisDescription
projectIdstringouiProject the work belongs to.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

start_visual_indexing

Start picture indexing

Indexes the project's pictures for search_media. Usually not needed: indexing is automatic and this only nudges the queue to re-check now. When the user switched automatic indexing off, this asks for every video and image to be indexed. Returns the same payload as get_analysis_status.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

start_transcription

Start transcription

Transcribes one asset even if automatic transcription is switched off. Speech transcripts otherwise appear on their own. Returns the project's analysis status; poll get_analysis_status, then read get_transcript.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
mediaRefstringouiAsset from get_media.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

get_job_status

Get job status

Status of a background job started by a job-returning tool (generate_voiceover, verify_timeline, measure_loudness): {state: queued|running|done|failed|cancelled, progress: 0-1, detail, ...result fields such as mediaRef when done; verify_timeline, measure_loudness puts its report in `result`}. Poll every few seconds while state is 'queued' or 'running' (queued = waiting for the analysis master tab, which loads the models once for the whole browser). For analysis started by start_transcription or start_visual_indexing, poll get_analysis_status instead.

ParamètreTypeRequisDescription
jobIdstringouiId returned by the start_* tool.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

list_voiceover_models

List voiceover models

The text-to-speech providers Frapea can generate voiceovers with. Returns providers[]: the FREE in-browser models straight from the TTS registry ({id, label, languages, voices: [{id, label, language, gender, grade}], modelAssets, state: {phase: needs-download|downloading|ready|error}}), plus the PREMIUM cloud provider flagged premium: true ({id: 'elevenlabs', label, premium, voices: [{id, label}], models: [{id, label, creditsPerCharacter, supportsAudioTags, note}]}, voices/models empty until a key is stored). supportsAudioTags tells you whether that model understands inline audio tags like [calm], [laughs], [whispers] as delivery directions (only the v3 family does); on every other model such tags are READ ALOUD, so send those models plain text — each model's `note` restates its rule. Also returns a top-level status object `elevenlabs`: {provider: 'elevenlabs', hasApiKey, credits: {used, limit, remaining} | null, consent: 'ask' | 'always'} — READ IT BEFORE choosing the premium provider, so you know whether a key exists, what the account can afford and whether a consent dialog will be involved. A free provider whose phase is 'needs-download' cannot generate until the user enables it in the Generators panel (Voiceover) — there is no tool to force the download; ask the user.

ParamètreTypeRequisDescription
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

generate_voiceover

Generate voiceover

Generates an AI voiceover from a script — on-device with the free models, or in the cloud with ElevenLabs (the user's own key and credits). The WAV lands in the project's media library as a normal audio asset (with waveform and analysis), the script is stored as asset metadata, and a script-corrected word-level transcript is written so captions work immediately. Narration is best generated before the picture is cut: a script does not tell you how long it takes to SAY, so a narrated edit assembled first is built on guessed cut points that the real audio then breaks — every section, graphic and transition has to be retimed. Generate the narration, read its word timings with get_transcript, then lay picture against those frames. Segments read better than one block (e.g. hook / body / close, or one per section), each laid on the timeline separately. A single long generation comes out FLAT and evenly paced, everything pressed together at one energy; segmenting gives each part its own intent, puts natural air at the joins, and lets you redo one section instead of all of it. Write for the ear: short sentences, one idea each, LINE BREAKS between them — the strongest signal the model has to actually stop. See read_skill {topic:'voiceover'}. Async: returns {jobId, fileName} — fileName is the audio file's final name in the project's media/ folder, decided up front (WAV for local providers, MP3 for ElevenLabs). The job runs on the analysis MASTER tab and its request is persisted on disk…

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
textstringouiThe script to speak (multi-line ok).
providerstringnonTTS provider id from list_voiceover_models (default 'kokoro'; 'elevenlabs' = premium, needs the user's key + consent).
voicestringnonVoice id from the provider's manifest (default: its first voice for the chosen language).
languagestringnonLanguage tag from the provider's manifest (e.g. 'en-us'). Ignored for ElevenLabs — its voices are multilingual.
speednumbernonSpeaking rate multiplier (default 1). Local providers accept 0.5–2; ElevenLabs 0.7–1.2.
modelIdstringnonElevenLabs only: TTS model id from list_voiceover_models (default 'eleven_v3' — expressive, reads [calm]-style audio tags as directions; use 'eleven_multilingual_v2' only when the user asks for v2; turbo/flash cost half). Check the model's supportsAudioTags before writing [calm]-style tags into the…
voiceSettingsobjectnonElevenLabs only: voice knobs, each optional. stability, similarityBoost and style are 0–1; speakerBoost is a boolean.
consentActionIdstringnonThe actionId from a CONSENT_REQUIRED refusal, after await_user_action returned 'granted'. Good for one job.
fileNamestringnonOptional base name for the audio file written into media/.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

search_stock_media

Search Pexels stock

Searches the Pexels stock library (photos or videos) with the user's connected API key. Returns items with id, dimensions, duration (videos), author, thumbnail url, available video qualities, and a `downloaded` flag telling whether the asset is already in the project's media pool. If no key is connected it errors with PERMISSION_REQUIRED, whose message says where the user connects one (Library → Generators → Stock Library). Results are subject to the Pexels license; keep the author attribution when asked about provenance. Results match the uploader's keywords, not the picture — a search for 'earth from space' also returns the Moon and artists' renders; `thumbnail` shows the actual subject. See read_skill {topic:'verify'}.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
kindstringouiphotos | videos
querystringnonSearch phrase; empty = curated/popular feed.
orientationstringnonOptional: landscape | portrait | square
sizestringnonOptional: large | medium | small
colorstringnonOptional, photos only: a Pexels color name.
pagenumbernon1-based page, 40 items per page.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

download_stock_media

Download Pexels stock

Downloads one Pexels asset into the project's media pool as a virtual file at the Library root (name `pexels- .jpg|.mp4`). Asynchronous: the first call accepts the download and returns its state; CALL AGAIN with the same arguments to poll — state becomes 'done' with the asset's mediaRef, ready for add_clips. maxHeight picks the best video rendition not exceeding it (default: the best available). ASK FOR THE WHOLE SHOT LIST AT ONCE — three files stream at a time and the rest wait their turn, so a batch is queued for you, in the order you asked. State 'queued' is normal and needs no action but polling. ONCE DOWNLOADED, CHECK THE MOMENT YOU MEAN TO USE — not just the first frame. A clip that opens on your subject can cut away, change subject or hold a logo exactly where you planned to trim. Read the scene samples from get_media, or render frames with inspect_media, across the range you intend to cut. See read_skill {topic:'verify'}.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
kindstringouiphoto | video
pexelsIdnumberouiThe item id from search_stock_media.
maxHeightnumbernonVideos only: cap the rendition height (e.g. 1080).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

search_sounds

Search Freesound

Searches the Freesound library (SFX, ambience, foley) with the user's connected API key. Every item carries what you need to JUDGE the sound without hearing it: the uploader's full description, tags, duration, community rating and download count, format/samplerate, and — when analyzed — AudioCommons descriptors (acAnalysis: ac_loudness LUFS, ac_dynamic_range, ac_tempo, ac_tonality, ac_single_event, plus 0-100 timbre scales like ac_brightness, ac_warmth, ac_hardness, ac_depth, ac_roughness, ac_boominess, ac_sharpness, ac_reverb). A `downloaded` flag says the sound is already in the pool. Licenses: CC0 needs nothing, BY needs attribution, BY-NC excludes commercial use — prefer cc0/by via the license arg when the project may be commercial. If no key is connected it errors with PERMISSION_REQUIRED, whose message says where the user connects one (Library → Generators → Sound Library).

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
querystringouiSearch phrase (e.g. 'door slam', 'jungle ambience').
minDurationSecondsnumbernonOptional lower duration bound.
maxDurationSecondsnumbernonOptional upper duration bound.
licensestringnonOptional: cc0 | by | by-nc
sortstringnonOptional: score (default) | rating_desc | downloads_desc | created_desc
pagenumbernon1-based page, 40 items per page.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

download_sound

Download Freesound sound

Downloads one Freesound sound (its HQ MP3 preview, ~128 kbps — plenty for SFX/ambience) into the project's media pool as a virtual file at the Library root (name `freesound- .mp3`). Asynchronous: the first call accepts the download and returns its state; CALL AGAIN with the same arguments to poll — state becomes 'done' with the asset's mediaRef, ready for add_clips onto an audio track. Three files stream at a time and the rest wait their turn, shared with stock video, so state 'queued' is normal and needs no action but polling.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
soundIdnumberouiThe sound id from search_sounds.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

add_sfx

Add built-in sound effects

Frapea's BUILT-IN sound-effects pack — synthesized, licence-free, no API key, no download wait. Covers common UI and motion sounds; search_sounds is for what the pack does not (ambience, foley, a specific real-world object). Call with no `ids` to get the catalogue: each sound carries what it sounds like AND when to use it. Call with `ids` to copy them into the project's media pool as `sfx- .wav` at the Library root; each result gives a mediaRef ready for add_clips on an audio track. Adding a sound already in the project is a no-op that returns its existing mediaRef.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
idsarray<string>nonSound ids to add (e.g. ['whip','thump','ding']). Omit to list the pack.
idstringnonConvenience: a single sound id.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

manage_queue

Manage background queue

Full control of the background work queue. action 'list' returns every queued/running item across all projects (analyses, proxies, beats) plus the visible task rows (downloads, voiceover jobs, failures) with a cancellable flag. action 'cancel' stops ONE kind of work for ONE asset — queued or already running (a running visual index stops at the next sample and keeps its checkpoint). The asset then shows an incomplete-analysis badge; retry_analysis or the tile's retry button runs it again. kind: index | transcribe | stabilize | denoise | proxy | beats.

ParamètreTypeRequisDescription
actionstringouilist | cancel
projectIdstringnoncancel only: project id from get_projects.
mediaRefstringnoncancel only: asset from get_media.
kindstringnoncancel only: index | transcribe | stabilize | denoise | proxy | beats
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

retry_analysis

Retry analysis

Runs ONE analysis of ONE asset again — picture indexing or speech transcription — clearing whatever failure was recorded for it. If the asset already has a finished transcript or index, that result is deleted and rebuilt. Use when get_media shows phase 'failed' and the error looks worth another go, or when you want a fresh result for a file that changed meaning. Returns the project's analysis status.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
mediaRefstringouiAsset from get_media.
kindstringouiindex | transcribe
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

set_keyframes

Set keyframes

Animates one clip property. property: opacity | volume | positionX | positionY | scaleX | scaleY | rotationDeg | pitch | yaw | anchorX | anchorY | cropLeft | cropTop | cropRight | cropBottom | cropSoftness. Keyframes are stamped in SOURCE frames (frames into the media, i.e. timelineFrame - startFrame + trimStartFrame), so they survive moves and trims. action 'set' (default) upserts the given keyframes; 'remove' deletes at the given frames; 'clear' removes the property's animation (or ALL animation when property is omitted). easing is how the value LEAVES a keyframe: linear | hold | smooth.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTimeline containing the clip.
clipIdstringouiClip to animate.
actionstringnonset | remove | clear (default set).
effectIdstringnonAnimate an EFFECT param instead of a clip property: the effect instance id (from manage_effects add / get_timeline). Use with `param`; `property` is then ignored.
paramstringnonThe effect param key to animate (e.g. 'exposure').
propertystringnonAnimatable property (see description).
keyframesarray<object>nonFor 'set': keyframes to add or replace.
atSourceFramesarray<number>nonFor 'remove': source frames whose keyframes to delete.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

apply_layout

Apply layout

Arranges clips into a screen layout by writing ordinary transform + crop values (first clipId → first cell). layout: full | side-by-side | top-bottom | pip-top-left | pip-top-right | pip-bottom-left | pip-bottom-right | grid-2x2 | main-sidebar | three-up. mode 'fit' letterboxes each source in its cell, 'cover' fills the cell and crops the overflow (bias 0–1 picks the surviving part; 0.5/0.5 = centre). Replaces the clips' geometry animation. The clips should overlap in time on different tracks — a layout of clips that never share a frame arranges nothing visible.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTimeline containing the clips.
clipIdsarray<string>ouiClips to arrange, in cell order.
layoutstringouiLayout id (see description).
modestringnonfit | cover (default fit).
biasobjectnonCover-crop bias 0–1 per axis (default 0.5/0.5).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

track_faces

Track faces

Finds every FACE in a video clip and stores one independent path per person — position, size and head rotation (nod/turn/tilt) per frame. Queued, not immediate: poll list_face_tracks until state is 'ready'. Re-running on the same clip REPLACES its previous run and keeps the same trackId, so clips already bound stay bound. A person who leaves the shot and returns much later becomes a SECOND face on purpose — use merge_faces if they are the same person.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
clipIdstringouiThe video clip to scan, from get_timeline.
namestringnonDisplay name for the run.
scoreThresholdnumbernonDetection confidence floor, 0.3–0.95 (default 0.6).
holdSecondsnumbernonHow long a vanished face is still 'the same face' when it comes back (default 1).
travelFacesnumbernonHow far it may reappear from where it vanished, in face widths (default 0.8).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

list_face_tracks

List face tracks

Lists face-tracking runs and the people each one found: faceId, name, frame range, how many frames it was actually visible for, and how many gaps it has. Sample data is deliberately not returned. Use this to poll a queued run and to pick a faceId for bind_face.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
clipIdstringnonOnly runs made from this clip.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

merge_faces

Merge faces

Joins two or more faces from one run into a single person — for somebody who walked out of the shot and came back. REFUSED when any two of them appear on the same frame, since they cannot then be one person. The earliest face's id and name survive, so existing bindings keep working, and the time between sightings stays a gap for the clip's gap policy to handle.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
trackIdstringouiThe run, from list_face_tracks.
faceIdsarray<string>ouiTwo or more faceIds within that run.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

bind_face

Bind clip to a face

Makes a clip FOLLOW a tracked face — the way to stick a mask, label or blur onto somebody's head. Movement is relative to where the face was first seen, so the clip keeps the framing it already had and only inherits the motion. Pick what to copy with channels, and what happens while the face is missing with gap. Pass trackId: null to unbind.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
clipIdstringouiThe clip that should follow the face.
trackIdstringnonThe run; null unbinds this clip.
faceIdstringnonWhich person in that run.
channelsobjectnonWhat to copy: {position, scale, pitch, yaw, roll} booleans. Default position and scale on, the three rotations off.
gapstringnonWhile the face is missing: 'hold' stays put then jumps, 'hide' disappears, 'glide' travels smoothly to where it reappears. One of: hold | hide | glide.
maxGlideSecondsnumbernonLongest gap 'glide' will cross before hiding instead (default 1.8).
smoothnumbernonJitter filtering 0–1 (default 0.25).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

organize_pool

Organize media bins

THE MEDIA POOL'S SHAPE — bins (the pool's folders) and what sits in them. Use it to tidy a project: group the footage, the voice-over, the music and the graphics instead of leaving eighty files at the root. Bins are VIRTUAL and live in the project, not on disk. Moving an item between bins NEVER touches the file or its mediaRef, so it cannot break a clip's link or make the app ask the user to relocate anything — organise freely. actions: 'list' returns the bin tree and every item with the bin it shows in (call it first — you need the ids). 'create_bin' {name, parentBinId?}. 'rename_bin' {binId, name}. 'move_bin' {binId, toBinId} nests one bin inside another. 'delete_bin' {binId} — its children and items reparent, nothing is lost, no file is deleted. 'move_items' {itemKeys[], toBinId} moves files, timelines and motion compositions alike. Item keys: a media file's mediaRef, 'timeline: ', 'motion: '. The Library root is the empty-string bin id. Bins that MIRROR a real folder (mirrorsFolder: true) can be RENAMED — a mirror is matched by the folder it tracks, not by its name — but they cannot be moved or deleted, because their place in the tree follows the folder. Move the items out instead, or make your own bins alongside.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
actionstringouilist | create_bin | rename_bin | move_bin | delete_bin | move_items
binIdstringnonTarget bin (rename/move/delete).
toBinIdstringnonDestination bin for move_bin / move_items. Omit or '' = Library root.
parentBinIdstringnonParent for create_bin. Omit or '' = Library root.
namestringnonBin name (create_bin, rename_bin).
itemKeysarray<any>nonmove_items: mediaRefs / 'timeline: ' / 'motion: ' to move together.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

measure_loudness

Measure loudness

MEASURE THE MIX — you cannot hear it; this is how you check it. Mixes the timeline's audio offline exactly as an export does (every audio track, nested timelines, fades, volume keyframes, clip audio effects, ducking, mute/solo) and measures it with EBU R128 / ITU-R BS.1770 — the same meter export loudness normalization uses. The mix is measured AS MIXED: an export's loudnessTargetLufs would then shift all of it by one gain. Returns {jobId}; poll get_job_status every few seconds. When done, `result` is {durationSec, integratedLufs, truePeakDbtp (4× oversampled, BS.1770-4), samplePeakDbfs, loudnessRangeLu, maxShortTermLufs, windows: [{fromSec, toSec, integratedLufs, maxShortTermLufs}] one per windowSec, sections?: [...same per requested section], speech: {source: transcript|none, speechSec, gapSec, mixDuringSpeechLufs, mixInGapsLufs, transcribedClips, untranscribedClips}, tracks: [{trackId, name, carriesSpeech, integratedLufs, samplePeakDbfs, duringSpeechLufs, inGapsLufs}]} (true peak is measured on the whole mix). SPEECH comes from transcript word timings mapped onto the timeline (trims, nests, speed): a GAP is a stretch of at least 0.6 s with no word within 0.25 s of it. `inGapsLufs` of a music/ambience track is the bed's level where nobody talks; compare it with the speech track's `duringSpeechLufs`. Without a transcript (speech.source 'none') the speech/gap fields are null — run start_transcription on the dialogue first. Integrated values are gated (−70 LUFS absolute, −10…

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTimeline to measure (what an export of it would sound like).
windowSecnumbernonLength of each entry in `windows` (3–600 s, default 10).
sectionsarray<object>nonOptional named spans to report on their own — e.g. the intro, each interview answer. Timeline seconds.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

duplicate_timeline

Duplicate timeline

Copy a timeline under a new name — a backup of the cut before a review round changes it, or a variant to try something on. A DEEP copy: new ids for the timeline, its tracks, clips and transitions; links between clips (A/V pairs, caption groups) are kept, inside the copy. Nested timelines are copied too by default (includeNested), so editing a nest in the original does not change the backup; motion compositions and media are referenced, not copied. The original is not touched and stays the active timeline; one undo removes the copy. Returns {timelineId, name, clips, nestedCopies?}.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTimeline to copy.
namestringnonName of the copy. Default ' copy'.
includeNestedbooleannonCopy nested timelines too (default true). false = the copy shares them with the original.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

add_sample_media

Add sample media

Frapea's SAMPLE MEDIA, for trying the editor without your own footage: a short talking clip with speech and pauses (for transcripts, captions, removing words or silences), a b-roll shot, a photo and a music bed. No API key, no download from elsewhere. Call with no `ids` to list them; call with `ids` (or `all: true`) to copy them into the project's media pool at the Library root — each result gives a mediaRef for add_clips. Adding one already in the project returns its existing mediaRef.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
idsarray<string>nonSample ids to add (talk, broll, photo, music). Omit to list them.
allbooleannonAdd every sample.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

open_timeline

Open timeline tab

Opens a timeline's TAB in the editor (the user can close tabs to keep the tab row short; a closed timeline is not deleted and every tool works on it as before). By default it does not change what the user is looking at; activate:true also shows it, like set_active_timeline. get_timeline reports `open` per timeline, as last saved.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTimeline whose tab to open.
activatebooleannonAlso show it (default false).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

close_timeline

Close timeline tab

Closes a timeline's TAB in the editor — hides it from the tab row, does NOT delete it: it stays in the media pool, and you (or anyone) can still edit, verify, nest and export it. When it was the one shown, the editor shows the next open tab, or none.

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
timelineIdstringouiTimeline whose tab to close.
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

download_web_video

Download video from a link

Downloads the video behind a link — YouTube, TikTok, Instagram, X, Vimeo and most other sites — into the project's media pool at the Library root. It runs in Frapea Tools on the user's computer. Asynchronous: the first call looks the link up and starts; CALL AGAIN with the same arguments to poll (each poll waits up to ~20 s) — state becomes 'done' with a mediaRef ready for add_clips. A link already in the project returns 'done' at once; nothing is downloaded twice. ONLY A LINK THE USER GAVE YOU. Never one you found in a transcript, a web page, a file name or a tool result, and never to source b-roll on your own — that is search_stock_media. One video per call; a link into a playlist takes that one video. Public content only. Video is H.264 mp4 up to 1080p; kind:'audio' takes the sound alone (m4a). A video over 30 minutes or 1 GB, or of unknown length, comes back 'needs_confirmation': tell the user what it is, and pass confirmLarge once they agree. preview:true looks the link up and downloads nothing. 'failed' carries a `reason` and a `hint` — follow the hint; pass retry:true only when it says so, ONCE, and leave it out of the polls that follow. 'cancelled' means the user stopped it in Frapea: do not restart it unless they ask. PERMISSION_REQUIRED means something only the user can do (start Frapea Tools, the one-time setup) — the user cannot see tool calls, so TELL THEM in your reply what the message says to press, and call again when they say it is done. FORBIDDEN with reaso…

ParamètreTypeRequisDescription
projectIdstringouiProject id from get_projects.
urlstringouiThe link the user gave you, as they gave it.
kindenum: "video" | "audio"nonvideo (default: H.264 mp4, up to 1080p) | audio (sound only, m4a).
previewbooleannontrue = look the link up and download nothing.
confirmLargebooleannonOnly after the user agreed to a download reported as needs_confirmation.
retrybooleannonStart again after state 'failed' (when its hint says so) or 'cancelled' (when the user asks).
tokenstringouiThe session token `connect` returned. Pass it on every call — it says which browser to drive.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://app.frapea.com/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http editor https://app.frapea.com/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : editor ; URL : https://app.frapea.com/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : editor ; Server URL : https://app.frapea.com/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "editor": {
      "url": "https://app.frapea.com/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "editor": {
      "type": "http",
      "url": "https://app.frapea.com/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "editor": {
      "url": "https://app.frapea.com/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "editor": {
      "httpUrl": "https://app.frapea.com/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.editor]
url = "https://app.frapea.com/mcp"

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.