Cues MCP tools: visuals and B-roll
The Cues MCP tools for the visual library, animation steps and pins, B-roll clips and the shot list, with arguments and results.
This page is written for AI agents.
The conventions every tool follows, and the tools to ask the user about first, are on Cues MCP tools.
Visuals
| Tool | Arguments | What it does |
|---|---|---|
visual_list |
project |
The project's visual library: each visual's id, file (in the project's visuals/ folder), type (svg, png, jpg, gif, html, mp4 or screen), name and source (agent, user or take). |
visual_push |
project, file: absolute path; optional: name, cue, visual, source |
Push visual: copies an SVG, PNG, JPG, GIF, self-contained HTML or MP4 file into the library, named name or after the file. With cue, the cue shows it: in its first visual clip with nothing chosen yet, else in a new visual clip at the end of the cue. A version for one format's shape is a visual of its own: push it without cue, turn that visual clip's Same as off in that format with visualClip_setSameAsPrimary, then show it there with visualClip_choose and format. With visual, replaces that visual's file in place, keeping its id, name and every use. For HTML, it reads data-composition-id, data-width, data-height, data-duration and data-cues-steps from the root element without running the page, and refuses a composition without data-duration. Returns { visual, droppedPins }: its id, and pins dropped because their step is gone. Agents leave source out. Check the file first with render_preview and file. |
visual_rename |
project, visual, name |
Renames a visual in the library. |
project_addImage |
project, file: absolute path, or a workspace path such as brand/logos/mark.svg |
Copies an SVG, PNG, JPG, GIF or WebP image into the project's images/ folder for Text on screen, for <img> in visualClip_setTextOnScreen. Returns its src for <img src="…">, and its width and height (null when they can't be read). Brand logos come from brand_get. |
render_preview |
Exactly one of cue, at, visual or file; project: needed with cue, at or visual, optional with file; optional: format, time, width, saveTo |
Render preview: renders exactly as the video shows it and returns a PNG image, with its width, height and savedTo. cue renders the cue in a format: its first layout clip with each space's first clip, Text on screen included, and the camera, or a placeholder figure before recording. visual renders a visual from the library on its own. file, an absolute path to an SVG, PNG, JPG, GIF, HTML or MP4 file, renders it as it would show filling a space, without adding it to any library: check drafts with it before visual_push. A file uses the project's style when project is given, otherwise Branding, so it works in an empty workspace. format defaults to the primary format, or 16:9 with no project. time is seconds into the cue or the visual, for animated visuals and clips. width is the image's width, 160–1920 px, 960 by default; the frame renders at 1080p. saveTo, an absolute path, also writes the PNG there, making any missing folders, and savedTo returns that path; without it, savedTo is null. |
Steps and pins
visual_listalso returns, for each visual,duration, an animated HTML visual's length in seconds, else null; andsteps:[{ id, name, at }]in story order,[]without steps.- Pins belong to a visual in one cue that shows it. The same visual in another cue has its own pins.
| Tool | Arguments | What it does |
|---|---|---|
visual_setSteps |
project, visual, steps: [{ id, name, at }] in story order |
Sets an animated HTML visual's steps, rewriting only its composition's data-cues-steps attribute. Keep a step's id to keep its pins; pins of steps left out are removed. Undoable. Returns { steps, unpinned }. |
visual_pinStep |
project, cue, visual, step; word: { take, index } |
Pins a step of the visual to a word, which must be on the main track inside one of that visual's clips in the cue. Pins keep story order: a step listed later can't be on an earlier word than one listed before it. The error names the nearest pinned step on each side that the word breaks, and the word it must come after or before. Pinning a step again moves its pin. Returns { at }, the word's main-track time. |
visual_unpinStep |
project, cue, visual, step |
Removes a pin; the step plays at its own time again. Returns {}. |
When a cue no longer shows a visual, its pins in that cue go.
B-roll
B-roll is footage the user records apart from the takes, in the recorder's B-roll mode, or a video file added as B-roll. Each clip belongs to its project; the ones the user adds go into the B-roll library, in the workspace's b-roll/ folder, for every project. See B-roll. Agents never record B-roll; they add a shot and ask the user to record it.
| Tool | Arguments | What it does |
|---|---|---|
broll_list |
optional: project, scope (project, library or all, the default), search, tags, source (screen or camera), needsDescription |
Clips, newest first. project scope is the clips recorded or added in that project plus the library clips its cues show. search matches titles, descriptions and tags; tags matches a clip with any of them; needsDescription returns only clips without a description. Each clip has its title, description, tags, source, origin, library flag, versions (the Original first, each with its file, duration and frames), its folder and the projects whose cues show it. |
broll_get |
clip |
One clip with its versions, frames and uses. Its frames are JPG files in its folder: read them to see what the clip shows. |
broll_update |
clip; optional: title, description, tags (the whole list) |
Sets a clip's title, description or tags. Tags are trimmed, lowercased, lose a leading # and keep one of each. Read broll_tags first and reuse an existing tag rather than a close variant. |
broll_tags |
none | Every tag in use, with its clip count, most used first. |
broll_renameTag |
from, to |
Renames a tag on every clip, or merges it into to when that tag exists. Returns { clips }, how many changed. |
broll_setLibrary |
clip, library |
Adds a clip to the B-roll library, or takes it out, back to its project. Suggest it; add a clip only when the user says so. |
broll_import |
project, file: absolute path to a MOV or MP4; optional: title, shot |
Adds a video file as a clip in the project, for shot when given. Returns { clip }. |
broll_delete |
clip |
Deletes a clip with its versions and frames, after asking the user. Cues showing it keep showing it. |
broll_findStill |
clip; optional: minSeconds (0.5–10, default 2) |
Stretches of the original where the picture doesn't change for at least minSeconds, as { spans: [{ from, to }] } in seconds. |
broll_saveVersion |
clip, ranges: [{ from, to }] in seconds into the original, in order; optional: speed (1, 1.25, 1.5 or 2), name, version, zooms |
Saves a version that keeps those parts at that speed. With version, replaces it, and every cue showing it updates; without, it's a new version named name, else Edited, Edited 2 and so on. zooms are zooms kept in the version, each { preset, amount, easeIn, easeOut, curve, from, to, target }, from and to in seconds into the version; zooms on the timeline play on top. The original is never changed. Returns { version }. |
broll_renameVersion |
clip, version, name |
Renames an edited version. |
broll_use |
project, cue, clip; optional: version, visualClip, format |
Shows a clip's version in one of the cue's visual clips: the one at visualClip, its 0-based place among the cue's visual clips, else the first waiting for B-roll or with nothing chosen yet, else a new visual clip at the end of the cue. With format, it's that format's own content, which needs Same as off (visualClip_setSameAsPrimary). The version defaults to the newest edited one, else the Original. Returns { visual, visualClip }. |
The shot list
| Tool | Arguments | What it does |
|---|---|---|
shot_list |
project |
The project's shots: each one's title, note, source, about how many seconds, its cue and, once recorded, its clip and its takes, each with its clip id. |
shot_add |
project, title; optional: note, source (screen or camera), seconds, cue, wait, visualClip |
Adds a shot. With cue, one of its visual clips waits for it (unless wait is false), shown as "B-roll:" and its title until it's recorded: the one at visualClip, else its first with nothing chosen yet, else a new visual clip at the end of the cue. Returns { shot }. |
shot_update |
project, shot; optional: title, note, source, seconds, cue |
Changes a shot. |
shot_remove |
project, shot |
Removes a shot. Visual clips waiting for it stay with nothing chosen; a clip recorded for it stays. |
shot_chooseTake |
project, shot, clip: one of its takes' clip ids from shot_list |
Makes the shot use that take, as ‹ and › do in the B-roll panel. Every visual clip that showed its old take shows this one. |
shot_deleteTake |
project, shot, clip: one of its takes' clip ids from shot_list |
Moves that take's clip folder to the macOS Trash. If the shot was using it, the shot uses its newest other take, or waits to be recorded again. Ask the user first. |
Next: Cues MCP tools: takes, transcripts and alignment. Back to Cues MCP tools.