Clueso

v1.0.2
io.clueso/video Checked 4 days ago Published 3 months ago

Make videos and docs with your AI agent — describe what you need, every output stays editable.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_design_guide Get design guide

Clueso's design guide, the HTML animation pages guide and the Director's skills. Ask for everything you need in ONE call. Each select entry is a section path or plain words; words search all three and return the best few, each labelled with the path that selects it exactly. get_design_guide({select: ['gist', 'styles.kinetic-type', 'motion.*', 'stagger from the centre']}) Paths: 'gist' (the design gist and its contents; also what no arguments returns); design sections ('motion.camera', 'x.*' with its children, '*' for all); 'animation' (the pages guide's core), 'animation.gist', 'animation.…

ParameterTypeDescription
brand_kit_idstringRead this brand kit (an id from find(type='brand_kits'), or 'default') instead of the project's: for a project on another kit, or a co-branded scene.
clueprint_idstringThe clueprint this project is built from: the brand section then says what it decides (format) and what the kit decides (identity), and whether it is brand_locked.
pathstringtopic 'skills' with skill: a file inside it, e.g. 'references/x.md'.
project_idstringThe project you are designing: adds its brand kit (the project's own, else the workspace default) as the 'brand' section.
selectarrayEverything to return, in one list: section paths and plain words, mixed. 'brand' and 'brand.<section>' read the brand kit.
skillstringtopic 'skills': a skill's name from the list; returns its SKILL.md and its files.
topicstring'design' (default): the house style, shaped by select. 'pages': authoring HTML animation pages. 'skills': the computer's skills, for inspiration.

read_animation Read an HTML animation

Read an HTML animation's page site (index.html, CSS, JS) like a repository. Read-only. • project_id alone → this project's animations, with which element shows which revision. • element_id (+ project_id) or animation → the summary: pages with their parameters, actions and cues; files; revisions and labelled versions; probe verdict and checks; where it is used. • path → numbered lines ("N| " + line; copy edit text after it); range: [a, b] for part; format 'raw' for exact text. • pattern → grep with path and line; all: true searches every site in the workspace. Code com…

ParameterTypeDescription
allbooleanWith pattern and no animation: search every page site of the workspace.
animationstringThe animation (a page site): its id from read_animation, or its site name in this project. Or name it by element_id instead.
element_idstringAn animation element: reads the page version it shows (a canvas Mograph: its code and parameters, read-only). Needs project_id.
formatstringWith path: 'numbered' (default) prefixes 'N| '; 'raw' is the exact text.
pathstringA file of the site, e.g. 'index.html' or 'scripts/scene.js'.
patternstringA regular expression, at most 200 characters: matching lines with path and line number.
project_idstringThe project. Alone (no element_id/animation): lists its animations.
rangearrayWith path: first and last line, inclusive, e.g. [40, 80].
revintegerA revision other than the one shown.

edit_animation Edit an HTML animation

Change an HTML animation's site: ONE revision, linted, checked and probed. A passing save with project_id moves that project's uses; a failing one is kept but moves nothing; your next edit continues from it. Saves return a contact sheet (preview: false skips it); preview: true | {filmstrip, video, test} renders the moved element in place (dry run: unsaved page). Send changes against your copy (server can't read your disk; no read first): patch: '<git diff or diff -ruN of your copy>' any number of files files: [{path, edits: [{old, new, replace_all?}]}] · {path, content} · {path, patch…

create_project Create project

Create a new blank Clueso project. Returns the projectId and initialClipId — the project starts with one blank clip already at index 0 (default short duration). Use update_clips to resize/retitle clip 0, add_clips(kind='blank') to append more clips, add_elements to place content, and add_audio to attach a project-level music track. Optionally place the project inside a folder (use find(type='folders') to find folder IDs, or create_folder to make one) and set a description at creation time. From a clueprint: it sets the format (layouts, pacing, motion, voiceover, music, captions) and this p…

ParameterTypeDescription
audiostringAn audio upload (an mcp_upload_id or a Clueso upload_id) to use as the voiceover (original narration, transcribed). Not with `script`.
brand_kit_idstringBrand kit for this project: an id from find(type='brand_kits'), 'default' (the same as omitting it: follow the workspace default kit), or 'none' for no brand kit. Setting a kit needs an editor or admi…
descriptionstringOptional project description (max ~500 chars)
folder_idstringOptional folder ID to nest the project under. Use find(type='folders') to discover IDs. Omit to create at workspace root.
scriptstringVoiceover script; one blank clip per paragraph. Not with `audio`.
titlestringProject title

update_project Update project

Update a project's metadata: rename, change description, move to a different folder, or change aspect ratio. Only fields you provide are changed. To move a project to the workspace root, pass folder_id="" (or "root"). Aspect ratio: pass any "W:H" (positive integers). The canvas is fit inside 1920×1080 keeping the ratio, so element pixel coordinates use the resulting canvas. Common values: - "16:9" → 1920×1080 (landscape, YouTube/web — default) - "9:16" → 608×1080 (portrait — TikTok/Reels/Shorts) - "1:1" → 1080×1080 (square — Instagram feed) - "3:4" → 810×1080 (portrait…

ParameterTypeDescription
project_id *stringThe project ID to update
add_tagsarrayTag names to add; missing tags are created.
aspect_ratiostringNew aspect ratio as 'W:H' (positive integers). Common: '16:9' landscape, '9:16'/'4:5'/'3:4' portrait, '1:1' square.
brand_kit_idstringBrand kit for this project: an id from find(type='brand_kits'), 'default' to follow the workspace default kit, or 'none' for no brand kit.
descriptionstringNew description
folder_idstringNew folder ID. Pass '' (empty string) to move to workspace root.
remove_tagsarrayTag names to remove.
titlestringNew project title

duplicate_project Duplicate project

Clone an entire project — every clip, voiceover, asset, and metadata field — into a fresh project. The copy has its own S3 namespace, so changes or deletions to the source never affect the duplicate. Defaults: - new_title omitted → "{source title} (copy)" when no folder_id is given (or it's empty) and the source stays in the same org; pass an explicit non-empty folder_id and the title is preserved. - folder_id omitted → copy lives in the same folder as the source. Returns the new project's id and title. Concurrency: whole-project read+create — serialize against other mutations on t…

ParameterTypeDescription
source_project_id *stringProject (guide) ID to duplicate.
folder_idstringPlace the duplicate in this folder. Omit to keep the same folder as the source. Pass '' (empty string) to move to workspace root.
new_titlestringOverride the title of the duplicate.

export_project Export project

Start a video export of the project. Returns immediately with an export_id; the export renders in the background (~5 min) and the user gets the result in the editor's Exports tab. Start it, tell the user it has started (with the export_id), and stop: do not call get_export in a loop or hold run_script open waiting for it. Call get_export only when the user asks for the link (it then returns download_url, or embed_url for destination="embed"). destination: • "download" (default) — an mp4 file; once done, get_export returns a time-limited download_url. • "embed" — publish the projec…

ParameterTypeDescription
project_id *stringThe project ID to export
captionsbooleanBurn subtitles into the video (default false)
destinationstringWhere the render goes: "download" (mp4 file, default) or "embed" (publish/update the project's embeddable player; its URL never changes). Publishing an embed needs an editor or admin role.
formatstring"mp4" (video, default) or "mp3" (the whole soundtrack, no picture; download only)
fpsFrames per second (default 30)
languagestringLanguage code of the voiceover and captions to render, e.g. 'de' for a translated project (default 'en'). Downloads only.
resolutionstringOutput resolution (default 1080p)

get_export Get export status

Read a project's video export: its status and, once done, its link. Call it when the user asks for the link or the status, not to wait on an export you just started (the user gets that in the editor's Exports tab, so start it, say so, and stop). Pass exactly one of `export_id` (the one export_project returned) or `project_id` (that project's most recently REQUESTED export, which may still be in progress). Returns { export_id, project_id, status, progress, requested_at, finished_at? }. `status` is queued, waitlisted or pending (not started yet), inprogress (`progress` is 0-100), completed, fai…

ParameterTypeDescription
export_idstringThe export_id export_project returned. Omit when passing project_id.
project_idstringCheck this project's most recently requested export instead. Omit when passing export_id.
wait_secondsintegerHow long to wait for the export to complete or fail before answering, default 50s. Pass 0 for an immediate status check (always, inside run_script).

get_media_job Get a media job's result

Fetch the outcome of a media job (an article GIF, a frame grab) that did not finish inline: the tool that started it returned { job_id, status: "processing" }. Waits for it rather than returning immediately, so one call is usually enough — set `wait_seconds` to how long you are willing to hold. Returns { job_id, status, created_at, completed_at?, result?, error? }. `status` is processing, completed or failed; `result` carries the job's outputs once completed, and `error` says why it failed. The job runs to completion whether or not you poll.

ParameterTypeDescription
job_id *stringFrom the reply of the tool that started the job.
wait_secondsintegerHow long to wait for completion before answering, default 50s. Pass 0 for an immediate status check.

get_recording_activity Get Recording Activity

Status of this workspace's auto-recordings, and how many recording generations this billing cycle has used. The same view as the Recordings page in the Clueso app. Returns { usage, rows, total, truncated }. `usage` is { cycle_start, cycle_end, generations_used, generations_limit (null: no cap), active_recordings, active_recordings_limit }. Each row is one project with its latest recording's `state` (pending: waiting for a free recording slot and starts by itself; in_progress, done or failed), the `recorders` used on it (Code-record, Browser-record), this cycle's `generations` for it, `last_ac…

ParameterTypeDescription
limitintegerRows to return, default 20, max 50. `total` counts every matching row.
project_idstringOnly this project's row.
statestringOnly rows in this state.

get_embed Get embed URL

Get a project's embeddable video player: `embed_url` (permanent) and `embed_code` (a ready-to-paste <iframe>, the same snippet the editor's Share → Embed copies). Use it to put a Clueso video in a website, help center or LMS lesson. Returns { project_id, published, embed_url?, embed_code?, latest_publish? }. • published=false — the project has never been published as an embed. Call export_project(project_id, destination="embed"), tell the user it has started and stop; get_export(export_id) returns the embed_url once it is done and the user asks. • published=true — the URL is liv…

ParameterTypeDescription
project_id *stringThe project ID whose embed to read

create_folder Create folder

Create a folder in the workspace, optionally inside another folder, to organize projects. Returns { folder_id, name, parent_folder_id, already_existed }. If a folder with the same name (case-insensitive) already exists in that parent, it is returned with already_existed=true instead of creating a duplicate — so it is safe to call to "ensure" a folder exists. Put projects in it with create_project(folder_id=...) or update_project(project_id, folder_id=...). List existing folders with find(type='folders').

ParameterTypeDescription
name *stringFolder name
descriptionstringOptional folder description
parent_folder_idstringCreate the folder inside this folder (use find(type='folders') for IDs). Omit for the workspace root.

find Find resources

Find any resource by `type`; filter by `query` (name substring unless noted) or exact `id`. Returns {type, count, items: [{id, name, type, ...}]} (+ total, has_more for projects/folders); pass ids straight to the consuming tool. Any `duration` is in SECONDS (= add_audio source_duration). - projects | folders | workspaces | backgrounds. - tags: project tags (color, project_count; apply with update_project). Project rows carry `tags`; filter with tags + tag_match. - clueprints: `query` = relevance search over workspace + community (search_summary, relevance_reason, tags, is_community, fork_coun…

ParameterTypeDescription
type *stringResource type to find.
avoidarraymusic/sfx: exclude (unlabelled tracks pass).
bpm_maxintegermusic: tempo ceiling.
bpm_minintegermusic: tempo floor.
brand_kit_idstringicons: this brand kit's set (find(type='brand_kits')) instead of the project's.
clip_labelstringclip_templates only: one kind of cover.
colorstringstock images only: color name or hex, e.g. 'blue'.
creator_idstringclueprints only: filter by creator id.
detailstringvoices, music, sfx, fonts, brand_kits, icons: 'compact' (default; what you need to choose and use one) | 'full' (every field: preview urls, thumbnails, attribution, rhythm, full descriptions; whole br…
energyintegermusic: 1 still, 2 gentle, 3 steady, 4 driving, 5 intense; ranks.
enginestringvoices only: 'eleven' | 'cartesia' | 'google'.
folder_idstringprojects/images/videos/music/clip_templates: restrict to a folder; projects: 'root' = outside every folder.
genrearraymusic: rank first.
idstringExact id: just that record (music/sfx: a stock id or src).
image_typestringPixabay images: illustration/vector for graphic looks (flat, icons, clip-art); photo (or Pexels) for realism.
languagestringvoices only: e.g. 'en'.
librarystringicons: another set id ('lucide', 'ph', 'tabler', ...); only for a video using no other set.
limitintegerPage size; caps every type, stock media included (default 8 for voices, music, sfx; every font for fonts; 50 otherwise). A '_more' item or note says when more exist.
max_durationintegerstock videos + freesound audio: maximum clip length in seconds.
min_durationintegerstock videos only: minimum clip length in seconds.
mine_onlybooleanclueprints only: only ones I created.
moodarraymusic/sfx: rank first (misses not hidden).
orientationstringstock images/videos only: result orientation.
pageintegerPage (default 1) — projects/element_components/clueprints.
project_idstringanimations: this project's own, listed first. icons: this project's brand kit's set.
providerstringStock library, one per call. images/videos: 'pexels' (default; realistic) | 'pixabay' (illustration, vector, clip-art, motion graphics; set image_type/video_type). music: 'clueso' (default; curated, b…
querystringName substring (case-insensitive). Stock media: the search phrase. Clueprints: relevance search.
sfx_typestringsfx: the kind of effect.
similar_tostringmusic/sfx: an earlier result's id (or a Freesound src, not a clueso src) → sounds like it, instead of text search (e.g. a rejected pick). No other filters.
sizestringstock videos only: minimum resolution bucket.
sourcestringMedia: 'org' (saved media) | 'stock' | 'all' (default; stock added only with a query). sfx: stock only. clip_templates: 'defaults' | 'org' | 'library' | 'all'. voices: 'saved' | 'own' (saved + custom;…
tag_matchstringprojects with tags: 'any' (default) | 'all'. An unknown name matches nothing.
tagsvoices: descriptive words ('calm', 'british', 'narration'; list or comma-separated), any one matches. projects: tag names, ignoring case (see tag_match).
tierstringanimations: 'org' (workspace) | 'official' (Clueso's) | 'community'; default all.
video_typestringPixabay videos: 'film' (live footage) | 'animation' (motion graphics).
vocalsmusic: false = instrumental only, true = with vocals.

switch_workspace Switch active workspace

Switch the active workspace. The choice sticks for this client until you change it again — including across reconnects — so every later call operates in the new workspace. Use find(type='workspaces') to see available options.

ParameterTypeDescription
workspaceId *stringWorkspace ID to switch to

get_project Get project data

Get a summary of a project: canvas dimensions, per-clip summary (ids, indices, durations, element counts, voiceover_volume), and `audio_tracks` — every music/SFX entry on the project flattened to the same wire shape `add_audio` accepts (id, src, name, source_duration, guide_start_time/end_time, music_start_time/end_time, volume, loop, fade_in, fade_out). To copy an audio track to another project: read it from `audio_tracks` here and feed the same fields to `add_audio` on the target project. `brand_kit` is {id, name, follows_default}: the brand kit this project is built with (follows_default…

ParameterTypeDescription
project_id *stringThe project ID
renderobjectThe whole film as ONE labelled image instead of the summary: exactly one of seams, clips or at. A reply that leaves cuts or clips out names the next from_cut or from_clip.

get_clip Get clip details

Read one clip: elements (canvas px), voiceover (text, voice, duration, voiceover_volume), background, transition (null if none). Three independent axes: - `select` shapes the JSON. Full reads are large (word timings and type_data dominate); ask only for what you need. - `element_ids` picks which element rows (e.g. element_ids: ['el_9'], select: ['elements.x','elements.y']). - `render` returns a PNG; omit it and nothing renders. render cheat sheet: {} → t=0 (entry animations not yet in: check several mid-clip moments instead) {timestamps: [0.5, 2, 4]}…

ParameterTypeDescription
clip_index *integerZero-based clip index
project_id *stringThe project ID
element_idsarrayWhich element rows to return ([] = none). Writes already echo resolved layout, so re-reads are often unnecessary.
renderobjectRender a PNG (present = render; `{}` = t=0). Checking work: several mid-clip `timestamps`, not t=0: text and images have ~0.4s entry animations so a correct edit looks empty at t=0 while shapes show.…
selectarrayJSON to return. Omit = everything; [] = clip fields only (clip_id, duration, background, voiceover_text). Sections (each returns its own key): 'elements' (whole rows); 'voiceover_words' ({word, start,…

update_clips Update clips (batch)

Update clips in ONE call (always batch): background, transition, duration, title, hidden, position, voiceover_volume, video_styling (video clips), after_clip, subtitle_settings. - duration: sets the clip's length WITHOUT rescaling anything (unlike generating speech, which rescales the whole clip). A shrink clamps every end_time past the new end to it; a grow carries an element that ended at the old end to the new end and leaves the rest where they were. A placed trim animation keeps its animation_duration: it holds its last frame on a grow and is cut on a shrink; only a stretch animation plac…

ParameterTypeDescription
project_id *stringProject ID
updates *arrayOne entry per clip to update.

remove_clip Remove clip

Remove a clip from the project by index. Cannot remove the last remaining clip. Interactive links to the removed clip are cleared: any button, question/results logic or form that jumped to it now continues, and a clip whose end action jumped to it plays the next clip. After removal, all clips with index > clip_index shift down by 1. When removing multiple clips by index, remove from highest index to lowest (or capture clip_ids first and re-derive indices between calls). Concurrency: whole-project mutation (conflict domain: the entire project) — serialize. Do not run it in parallel with ANY…

ParameterTypeDescription
clip_index *integerZero-based clip index to remove
project_id *stringThe project ID

split_clip Split clip

Split a video clip into two clips at the given timestamp. The left clip keeps the original clip ID; the right clip gets a new ID and is inserted immediately after. Elements spanning the split point are duplicated into both clips with adjusted timing. Exception: a question, results card, form, or any element with a clickaction stays whole in the left clip (trimmed to end at the split), so it is never asked or paused on twice. Voiceover transcript and transcribed words are split proportionally. Concurrency: whole-project mutation (conflict domain: the entire project) — serialize. Do not run i…

ParameterTypeDescription
clip_index *integerIndex of the clip to split
project_id *stringThe project ID
split_time *numberTime in seconds within the clip where to split (clip-relative, not timeline-relative). Must be > 0.1s and < clip_duration − 0.1s; values outside this range are rejected.

captions Edit captions

Read and edit a clip's CAPTIONS (subtitles) — what they say, where one caption ends and the next begins, when each shows, captions not tied to the voiceover, and translation. Captions are built from the clip's voiceover words: each caption is a run of words, addressed by its `start_word_index`. Start with action="list" on the clip — it returns `blocks` (voiceover captions: start_word_index, end_word_index, start/end in clip seconds, text, transcript_text, words, edited, retimed, mergeable), `manual_captions` ({caption_id, start, end, text}), `active_language` and `translated_languages`. T…

ParameterTypeDescription
action *stringWhat to do — see the tool description
project_id *stringThe project ID
caption_idstringmanual_edit / manual_remove — from list's manual_captions.
clip_indexintegerThe clip. Required for every action except translate/language, where omitting it means every clip.
end_timenumbertiming / manual_add / manual_edit — seconds from the start of the clip.
languagestringtranslate — language id ("fr") or name ("French"). language — a translated id, or "original".
split_word_indexintegersplit — the word that starts the new second caption.
start_timenumbertiming / manual_add / manual_edit — seconds from the start of the clip.
start_word_indexintegeredit/reset/split/merge/timing/timing_reset — the caption, exactly as list returned it.
textstringedit / manual_add / manual_edit — the caption text.

duplicate_clip Duplicate a clip

Clone one clip — within the same project, or **from another project** — into a target project. - Same project: pass `target_project_id` and `source_clip_id` (omit `source_project_id`). - Cross-project: pass `target_project_id`, `source_project_id`, `source_clip_id`. The source clip's S3 assets (voiceover audio, original video footage, generated video, etc.) are re-hosted into the target guide's S3 namespace, so the new clip is independent of the source — deleting the source project later won't break it. Insertion: pass `after_clip_id` to place immediately after a specific clip in the t…

ParameterTypeDescription
source_clip_id *stringID of the clip to duplicate.
target_project_id *stringProject (guide) ID to insert the duplicate into.
after_clip_idstringInsert after this clip ID in the target. Appends at end if omitted.
source_project_idstringCross-project mode: ID of the project the source clip lives in. Omit for same-project duplication.

add_clips Add clips to project

Create new clips on a project. One tool, four sources: - kind="blank": empty slide clips you'll populate with add_elements / generate_media. Pass `clips: [{title?, duration?}, ...]`. Note: create_project already creates clip 0; calling with N blank entries gives N+1 clips total. - kind="pptx": extract slides from an uploaded .ppt/.pptx. Pass `mcp_upload_id` (from upload_file), optional `slide_indices`. Each slide becomes a slide_clip with native text/image/shape elements pre-populated. - kind="video": cut clips from an uploaded video/audio. Pass `mcp_upload_id` and optionally `mime_type` (def…

ParameterTypeDescription
kind *stringSource for the new clips: 'blank' | 'pptx' | 'video' | 'template'.
project_id *stringProject (guide) ID.
after_clip_idstringInsert after this clip ID; appends at end if omitted. kind='video': '' inserts at the front.
auto_elementsbooleankind='video' only: when true, run auto-element detection (zooms, spotlights, blurs). Default false. Only meaningful on cache miss; cache hits clone the originating run's auto-elements.
clipsarraykind='blank' only: one entry per blank clip. Optionally set background_color/background + transition per clip at creation — no follow-up update_clips needed.
cutsarraykind='video' only: per-clip cuts. Each entry becomes one inserted clip. Omit to insert the full upload as a single clip.
mcp_upload_idstringkind='pptx' or 'video': mcp_upload_id from upload_file, or a Clueso upload_id (or its S3 key).
mime_typestringkind='video' only: MIME type (default 'video/mp4'). Audio MIME types insert the file as a sequential clip with auto-TTS; for background music, use add_audio instead.
slide_indicesarraykind='pptx' only: 0-based slide indices to insert. Omit to insert all slides.
source_end_clip_idstringkind='video' re-cut: last clip of the run (inclusive).
source_start_clip_idstringkind='video' re-cut: first clip of the run to re-cut (inclusive).
template_idstringkind='template' only: template_id from find(type='clip_templates').
text_overridesarraykind='template' only: text for the template's text elements, in document order.
titlestringkind='video' only: clip title (default 'Video').
voiceover_textstringkind='video' only: post-AI voiceover script (saved as v2). Original audio is always retained as the base transcript. Bracketed emotion tags ([excited], [whispers]) are performed, not spoken; <pause:1.…

get_element_schema Get element schema

Return the schema for an element type's type_data, as TypeScript declarations. Call this before add_elements / update_elements when you don't already know the field shape for the element_type you're placing. By default it is compact: every field with its type and a one-line note, plus the keyframable list. Ask about specific properties with `fields: ['background_setting']` or `query: 'pill background'` — those come back with their full notes, default and an example; `detail: 'full'` returns everything, including the keyframe rules. Inside run_script it is a function like any tool: get_eleme…

ParameterTypeDescription
element_type *stringOne of: text, callout, rectangle, arrow, blur, spotlight, zoom, image, video, animation, question, results, form, avatar, draw, group
detailstring'compact' (default): names, types and one-line notes. 'full': every field's full notes, nested docs and the keyframe rules.
fieldsarrayReturn only these fields, with their full notes, default and an example — text is 15KB whole, ~300 bytes for two.
formatstringDefaults to 'declarations' — TypeScript-style, which is the better READ. Inside run_script it defaults to 'json' instead, because a script indexes into the structure and the declaration text would a…
modestring'add' returns required + optional fields; 'update' returns all-optional.
querystringWords describing the property you want ('pill background', 'corner radius', 'line height'): returns the best-matching fields (up to 5) as `fields` would.

add_elements Add elements to clips

Add elements to one or more clips in ONE call (always batch). Items apply in order; one result per item (partial success ok). type_data shape: get_element_schema. - `defaults`: hoist what repeats (clip_index, element_type, font_setting, alignment…); items carry only what differs. `returning` shapes the reply. - Native elements by default (editable, translatable); compute boxes and keyframes in run_script (layout.row/grid/split, anim.stagger, native.box/text/tween). HTML animation (edit_animation place, animation.place) only where native can't: charts, product UI, diagrams, illustration, 3D,…

update_elements Update elements

Update elements across one or more clips in ONE call (always batch). Items apply in order; partial success ok. clip_index not needed (element_id is project-unique). - Per item: position/timing fields, and/or type_data with element_type (settable fields: get_element_schema mode 'update'). `defaults` hoists shared keys; `returning` shapes the reply ([] = counts + errors). - Keyframes: top-level `keyframes` (not in type_data) replaces only the property tracks your entries name; null or [] clears all. - Component: after add_elements(component_id), set its content with type_data.parameter_values o…

remove_elements Remove elements from clips

Remove many elements across one or more clips in a single tool call. One entry per element ({clip_index, element_id}). Concurrency: parallel-safe (conflict domain: the individual element) — same as update_elements. Each removal is a granular element_remove patch scoped to that element id, and the whole batch lands in ONE save. Fan out across subagents as long as they touch DIFFERENT element ids. Two concurrent edits to the SAME element id do not last-write-win — the later one is REJECTED and nothing is written; re-read and re-apply. Do NOT run concurrently with whole-clip/whole-project mu…

ParameterTypeDescription
project_id *stringProject ID
clip_indexintegerWith element_ids: the clip they are on.
element_idsarraySeveral elements on ONE clip (with clip_index), instead of removals.
removalsarrayElements to remove — at least one entry. For one clip, clip_index + element_ids is the same.

reorder_elements Reorder elements within a clip

Reorder the elements inside a clip. List position IS the z-index — later entries in `ordered_element_ids` render on top of earlier ones. You MUST pass the full set of element IDs currently in the clip. The handler rejects partial lists so a reorder can never silently drop an element. Get the current list via get_clip — the order it returns is exactly the order this takes. Works on grouped clips. Elements keep their group; moving a group's members together moves the whole group relative to everything else. The one thing a group cannot do is render in two pieces, so an order that puts a no…

ParameterTypeDescription
clip_index *integerZero-based clip index.
ordered_element_ids *arrayAll element IDs currently in the clip, in the new order. Position N = z-index N (later = on top).
project_id *stringProject ID.

update_groups Update groups

Transform, keyframe, rename, nest or lock GROUPS. A group moves, scales, rotates and fades as ONE unit without touching children's stored positions: a camera push instead of building the layout twice. - Address by `group_id` (from get_clip select:['groups'], or returned by add_elements/update_elements with `group`), never by name; an unknown id is an error. No add_groups: create a group by adding elements with `group: "<name>"` (its pivot comes from its children's box). - Units: offset_px, blur_px, anchor_px canvas px; scale multiplier; rotation/rotate degrees; opacity 0-100. - anchor_px: the…

ParameterTypeDescription
items *arrayOne entry per group to update
project_id *stringThe project ID
returningarrayResponse shape (like get_clip `select`). Omitted: ids + layout + compact clip audit. 'ids': element_id per item. 'layout': measured text fit (font_size_px, text_width_px, natural_width_px, line_count,…

remove_from_project Remove element, group or audio track

Remove an element, a group or an audio track from a project. - target="element": removes an element (requires element_id, or element_ids for several). clip_index is optional — the element is located by id; pass it only as a hint - target="group": removes a GROUP node (requires clip_index + group_id). By default its children survive — they rise to the removed group's own parent, which for a top-level group is the clip root. Pass keep_children=false to delete the whole subtree instead, every nested group and every element inside it. - target="audio": removes a music/SFX track (requires music…

ParameterTypeDescription
project_id *stringThe project ID
target *stringWhat to remove: 'element', 'group' or 'audio'
clip_indexintegerZero-based clip index. Required for target='group'; for target='element' an optional hint — the element is found by id either way
element_idstringElement ID to remove (target='element'; or use element_ids)
element_idsarraySeveral element IDs to remove (target='element'). Removed one at a time, so a failure part-way leaves the earlier ones removed; retrying the same list is safe — ids already gone come back as already…
group_idstringGroup ID to remove (required for target='group')
keep_childrenbooleantarget='group' only. Omit/true ungroups: children rise to the removed group's own parent. false deletes the whole subtree.
music_idstringMusic/SFX track ID to remove (required for target='audio')

add_audio Add audio track

Add a music track or sound effect that plays as a project-level audio layer over all clips. Does NOT consume a clip slot. Use this for background music or a soundtrack that should play under the existing timeline. Sound for an HTML animation goes here, not in its page: guide_start_time = the element's start + the cue's t. (For inserting an audio file as its own sequential clip with auto-transcription, use add_clips(kind='video') with an audio mime_type instead.) - type="music": requires src. `src` is the `src` from a find(type='music') result (pass with its name and duration as source_duratio…

ParameterTypeDescription
project_id *stringThe project ID
type *stringAudio type: 'music' or 'sfx'
fade_innumberFade-in duration in seconds. Music only. (default: 0.5)
fade_outnumberFade-out duration in seconds. Music only. (default: 0.5)
guide_end_timenumberWhen to stop playing (seconds). Music only. Default = end of project AT CALL TIME — captured once at insert and NOT recomputed when clips are later added or resized. Pass an explicit value (e.g. the…
guide_start_timenumberWhen to start playing in the guide timeline (seconds). Required for type='sfx', optional for music (default 0).
loopbooleanLoop the track if project is longer than the source. Music only. (default: false)
music_end_timenumberOut-point within the SOURCE track (seconds) — trims where playback ends in the music file. Music only. Default = source_duration.
music_start_timenumberIn-point within the SOURCE track (seconds) — trims where playback begins in the music file. Music only. Default 0 (start of source).
namestringTrack/effect name. From the find result; for an upload it defaults to the file name.
sfx_keystringLEGACY fixed-library SFX key (e.g. 'whoosh', 'pop', 'click'). Optional alternative to src for type='sfx'. Prefer the src/name/source_duration from a find(type='sfx') result.
source_durationnumberSource duration in seconds, from the find result. Uploads and other URLs are probed.
srcstringAudio source. For type='music' (required) or a stock type='sfx': the `src` from a find(type='music'|'sfx') result (may be an opaque Freesound handle — pass as-is), or an upload id (mcp_upload_id 'mu…
volumenumberVolume as percent (0–100). Default: 20 for music (under narration), 80 for sfx.

update_audio Update an existing audio track

Mutate fields on an existing music/SFX track by id. Read existing tracks via `get_project.audio_tracks` — the per-entry shape there matches this tool's args, so you can flip a knob (volume, fades, timing, loop) and write it back without losing the track's id. Only fields you pass are changed; omitted fields are preserved. To delete a track entirely, use `remove_from_project(target='audio')` instead.

ParameterTypeDescription
music_id *stringID of the audio track (from get_project.audio_tracks[].id)
project_id *stringThe project ID
fade_innumberFade-in duration (seconds)
fade_outnumberFade-out duration (seconds)
guide_end_timenumberNew end time on the project timeline (seconds)
guide_start_timenumberNew start time on the project timeline (seconds)
loopWhether the track loops
music_end_timenumberNew end offset within the source file (seconds)
music_start_timenumberNew start offset within the source file (seconds)
volumenumberNew playback volume 0-100

extract_audio Extract a clip's audio onto its own layer

The editor's "Extract Audio": a clip's own audio — the recording's sound on a video clip, or its generated voiceover — becomes a separate audio track (returns music_id), and the clip goes silent. - The track starts where the clip starts and plays at normal speed. Shape it with update_audio (trim music_start_time / music_end_time, move guide_start_time, fade, volume); analyze_audio(file_url=<its src from get_project.audio_tracks>) reads it. - The track stays in sync through later edits — yours, and voiceover landing on other clips: clips before it moving or resizing, and cuts inside it (…

ParameterTypeDescription
project_id *stringThe project ID
clip_idstringClip ID (preferred over clip_index).
clip_indexintegerZero-based clip index. Ignored if clip_id is provided.
restoretrue = undo: the clip plays its own audio again at 100%.

voiceover_batch Set voiceover scripts

Set voiceover text and/or generate speech for many clips in ONE call. Per entry: "set_text" (clip_index + text), "generate_speech" (async TTS; wait: true blocks until it lands), "set_and_generate" (both). Entries apply in order, one result each; all text lands in one save, TTS runs async per clip after. - Address by clip_index, or clip_id (survives inserts/reorders); never both needed. - Text: [emotion] tags are performed, not spoken; use sparingly before the phrase they colour. <pause:1.5s> = exact silence (also as a lead-in or hold; get_clip's voiceover_text shows existing pauses: keep them…

ParameterTypeDescription
entries *arrayVoiceover entries — at least one.
project_id *stringProject ID
waitbooleantrue: block until this call's speech lands so durations, voiceover_words and element times read next are real (`ready`: each clip's new duration). Bounded by wait_seconds; the rest come back as durati…
wait_secondsintegerWith wait: the most to wait, default 50s.

auto_sync Auto-generate sync points

Run the agentic auto-sync pipeline on a clip with a source recording: detects natural sync points (UI changes, narrated steps) and inserts sync-marker nodes into its transcript. Required before voiceover TTS on video clips (clueso://docs/sync-points). Skips (no run): "audio_extracted" (read-only transcript); "clip_busy" + held_by (retry later); "clip_too_long" + {clip_id, duration_label} (trimmed window over 5 min; never quote the limit): split_clip it into shorter clips and auto_sync each. Returns once started; markers land a few seconds later, so poll get_clip before TTS.

ParameterTypeDescription
clip_id *stringClip ID to auto-sync.
project_id *stringProject ID.

add_sync_point Add a sync point at a word + timestamp

Insert one sync marker on a clip's transcript. Use this when: - The user is explicit about WHERE the camera should pause / cut (e.g. "sync the word 'submit' to 4.2s of the demo"). - `auto_sync` ran but missed a step you care about. How matching works: - `word`: case-insensitive, punctuation-stripped. The first match in the transcript is used unless `occurrence > 1`. - `occurrence`: 1-indexed — pass 2 to target the SECOND time that word appears, 3 for the third, etc. Required when the word repeats. - `timestamp_seconds`: clip-relative seconds. When the clip has run TTS already (`generated_t…

ParameterTypeDescription
project_id *stringProject ID.
timestamp_seconds *numberClip-relative timestamp in seconds. Auto-mapped to original-recording seconds when the clip has generated_timestamps.
word *stringTarget word (case-insensitive; trailing punctuation is stripped).
clip_idstringClip ID (preferred). If omitted, clip_index is used.
clip_indexintegerZero-based clip index. Ignored if clip_id is provided.
occurrenceinteger1-indexed match number when the word repeats. Defaults to 1 (first occurrence).
sync_point_namestringOptional label (e.g. 'Click submit'). Defaults to 'Sync point N' using the next order number.

upload_file Upload file

Upload files to Clueso. Pick a mode by client and where the file lives: - `files` (ChatGPT only): the user's attachments, filled by ChatGPT; pass them instead of asking for a re-upload. - `file_name` (default for agents/scripts: Claude Code, Cursor, Claude Desktop): returns an upload URL on Clueso's own domain (not S3; works where cloud storage is blocked) + a ready curl that PUTs one local file; you or the user run it. - `file_names` (without request_hosted_upload): the same for many files, one token + URL each and ONE curl for all; run it from the folder the names are relative to (edit_anima…

ParameterTypeDescription
display_namestringWith purpose 'font' and one file (file_name, file_url, one files entry, or one file_names entry): the name to list the font under. Default: its family name without build dates or versions.
file_namestringFile name with extension. Returns a Clueso upload URL + curl command that streams this single local file to us (single file).
file_namesarrayHosted mode: the file names the user will upload, shown on the page. Without request_hosted_upload: upload these local files in one call (one token + URL each, and one curl for all), max 50.
file_urlstringPublic URL to fetch the file from
filesarrayChatGPT file attachments, one entry per file (filled by ChatGPT).
purposestring'font': add the file to this workspace's brand fonts once it arrives (see above). With request_hosted_upload, every file dropped on the page is one, reported by check_uploads.
request_hosted_uploadbooleanIf true, returns a hosted upload page. Call once for all files — the page accepts multiple uploads under one token.

check_uploads Check upload status

Fetch all files the user uploaded via the hosted upload page. Returns one mcp_upload_id per file — pass each to the appropriate tool (add_clips, add_article_media, etc.). Call this once after the user confirms they are done uploading; the token covers all files they dropped on the page.

ParameterTypeDescription
upload_token *stringThe upload_token returned by upload_file(request_hosted_upload: true)

generate_media Generate AI media (image or animation)

Generate an AI image or a canvas-code-based animation directly into a clip. - kind="image": text-to-image. Pass `prompt`. Optional: `animation_setting` (entry/exit — set it HERE, see below), `style_id` (from find type='image_gen_style_packs'), `reference_image_url` or `mcp_upload_id` for image-to-image grounding. - kind="animation": canvas-code animation rendered from a prompt. Pass `prompt`. Optional: `voiceover_text` (drives timing), `base_component_id` (reuse a saved animation as the starting point), `reference_image_url` or `mcp_upload_id` for visual grounding. Generation is asynchron…

ParameterTypeDescription
clip_id *stringClip ID to place the generated element into.
height *numberHeight in pixels.
kind *string'image' = AI text-to-image; 'animation' = canvas-code-based motion graphic.
project_id *stringProject ID.
prompt *stringGeneration prompt. For animations, be SPECIFIC: name the UI elements, interaction sequence, timing feel, and visual style. Vague prompts produce bad output.
width *numberWidth in pixels.
x *numberTop-left X in canvas pixels.
y *numberTop-left Y in canvas pixels.
animation_settingobjectImage only. Entry/exit animation, same shape as add_elements' type_data.animation_setting. The design guide asks AI images to enter with `masked_reveal` or a slow fade, so set it here rather than foll…
aspect_ratiostringImage only. Overrides the ratio inferred from width/height (usually leave it; set when the box is a placeholder). Clamped per model: gpt-image-1/1.5 only 1:1, 4:3, 3:4; gpt-image-2.5 pair adds 16:9, 9…
backgroundImage only. `false` = transparent cut-out (icons, logos, stickers). Honoured ONLY with `model` set in the same call to `gpt-image-2.5-flare` (default pick), `gpt-image-2.5-sunburst`, `gpt-image-1` or…
base_component_idstringAnimation only. Reuse a saved animation component as the starting point (from find(type='element_components')). To re-skin its tunable parameters, set parameter_values via update_elements after it ren…
end_timenumberDisappear at (seconds).
mcp_upload_idstringmcp_upload_id from upload_file, or a Clueso upload_id. Resolved server-side to a presigned URL before generation.
modelstringImage only. Default `gemini-3-pro-image` (Nano Banana Pro; usually leave it). Faster/cheaper: `gemini-3.1-flash-image`, `gemini-nano-banana-2.1` (newest), `gemini-3.1-flash-lite-image` (cheapest), `ge…
reference_image_urlstringPublic URL of a reference image. Mutually exclusive with mcp_upload_id.
start_timenumberAppear at (seconds).
style_idstringImage only. Style preset ID from find(type='image_gen_style_packs'). See resource clueso://docs/generation-styles.
voiceover_textstringAnimation only. Paces the motion to the spoken script — and as a side effect sets this clip's voiceover text and triggers speech generation for the clip. If the clip's current voiceover_text (get_cl…

analyze_audio Analyze audio

Analyze an audio file. Modes: - transcript: Speech-to-text with word-level timestamps — returns `{language, full_text, words}` where each word is `{word, start_ms, end_ms, punctuated_word}`. ⚠ MILLISECONDS here; get_clip's `voiceover_words` gives the same words in SECONDS as `{word, start, end}`. Use for caption timing, script editing, or word-level visual sync. Works on narration and on sung lyrics: the provider is picked from the content, and if it returns nothing the other one is tried automatically. So an empty `words` means the audio genuinely has no intelligible speech, not that the…

ParameterTypeDescription
mode *stringWhich analysis to run.
energy_optionsobjectOptions for mode='energy'.
file_urlstringPublic http(s) URL to the audio. Use when the file is already accessible (e.g. find(type='music') result, Clueso CDN). Validated against private/loopback ranges.
mcp_upload_idstringmcp_upload_id from upload_file, or a Clueso upload_id. Use this OR file_url, not both.
range_end_msintegerEnd of analysis window in milliseconds. Default: whole file.
range_start_msintegerStart of analysis window in milliseconds. Default 0 (beginning).
silences_optionsobjectOptions for mode='silences'.
transcript_optionsobjectOptions for mode='transcript'.

get_article Get article

Get the article content as markdown. Screenshots appear as <SCREENSHOT {id}> placeholders, and things markdown can't show (an embedded video, a pasted image) as <EMBED {id}> placeholders. Returns the markdown text, a list of screenshot IDs and the article_version to pass to update_article.

ParameterTypeDescription
project_id *stringProject ID

update_article Update article

Update article text content from markdown. Use <SCREENSHOT {id}> placeholders to position screenshots. Screenshots in the markdown are kept. Screenshots removed from markdown are deleted. Order in markdown defines final order. Keep each <EMBED {id}> placeholder unchanged, or what it stands for is deleted. Get the current article first with get_article, modify the markdown, then call this with the article_version of the article you edited (from get_article, or from your last add_article_media / update_article_media / update_article on it). If the article changed since, the update is refused: re…

ParameterTypeDescription
markdown *stringUpdated article content as markdown with <SCREENSHOT {id}> placeholders
project_id *stringProject ID
article_versionstringThe article_version of the article this markdown was written from. Recommended: without it, an edit someone else made since is overwritten.

add_article_media Add article media (image or GIF)

Add a screenshot or GIF to the article. It goes right after the block holding the screenshot named in `after` ("start" for the top), in place of the screenshot named in `replace`, or else at the end of the article. Returns its screenshot_id (it appears in the article as `<SCREENSHOT screenshot_id>`) and the new article_version. - kind="image": one of `timestamp` (capture a frame from the project's base video), `mcp_upload_id` (an uploaded image: `mup_…` from upload_file, or a Clueso upload_id), `source_url` (an image URL, e.g. one generate_media returned) or `prompt` (generate an AI illustr…

ParameterTypeDescription
kind *string'image' or 'gif'.
project_id *stringProject ID.
afterstringPut it right after the block holding this screenshot_id, or 'start' / 'end' (the default).
aspect_ratiostringkind='image' with prompt only: the illustration's shape. Default 16:9.
durationnumberkind='gif' only: GIF duration in seconds.
mcp_upload_idstringkind='image' only: attach an uploaded image (mcp_upload_id from upload_file, or a Clueso upload_id) instead of capturing from video.
promptstringkind='image' only: generate an AI illustration from this prompt instead of capturing or attaching one.
replacestringPut it in place of this screenshot_id, wherever that sits; the old one is removed from the article.
source_urlstringkind='image' only: an https image URL to download and attach.
style_idstringkind='image' with prompt only: an image style pack ID from find(type='image_gen_style_packs').
timestampnumberkind='image': capture frame at this timestamp (seconds). kind='gif': GIF start time.

update_article_media Update or inspect article media

Update an article image/GIF (screenshot), or inspect its current state. - Provide one or more of `zoom_factor`, `crop`, `shapes` to change metadata. - Pass `render=true` (with no other updates) to fetch the current details without mutating. To DELETE an article image/GIF: call `update_article` with markdown that omits the `<SCREENSHOT id>` reference. Unreferenced media is pruned server-side on save. There is no separate delete tool — the markdown IS the source of truth for what's present.

ParameterTypeDescription
project_id *stringProject ID.
screenshot_id *stringScreenshot ID (from get_article).
cropobjectCrop data: { position: [x,y], size: [w,h] } in fractional coords.
renderbooleanIf true (and no other updates supplied), returns current details and a PNG preview without mutating.
shapesarrayArray of shape objects for annotations.
zoom_factornumberZoom magnification (1.0 = no zoom).

create_clueprint Create clueprint

Create a new clueprint (reusable video template). A clueprint is a structured file directory with design notes, composition rules, and screenshots that can be used to generate videos. Use human-readable folder categories: design/ (colors, typography, backgrounds, animation), rules/ (composition, voiceover, editing), screenshots/ (rendered clip previews). See the "Creating Clueprints" section in the system instructions for the full structure. If source_guide_ids are provided, guide data is extracted clip-by-clip into the clueprint (animations and images described, auto-element rules learned;…

ParameterTypeDescription
name *stringName of the clueprint
visibility *string'workspace' shares it with your workspace; 'private' is stored as 'workspace'.
brand_lockedbooleantrue: projects in this workspace built from this clueprint keep its own colors, fonts and logos instead of their brand kit's. Default false (re-skinned to the project's kit).
descriptionstringDescription of what this clueprint does
source_guide_idsarrayIDs of existing projects to extract template data from

get_clueprint Get clueprint

Fetch clueprint data. Use `include` to control how much you pull back: - include="metadata": just the clueprint's name/description/tags/visibility/thumbnail. - include="tree": metadata + the full file tree (path, mime_type, and size per entry). Call this first when exploring an unfamiliar clueprint. - include="files": the contents of the files listed in `file_paths` (no metadata — call include='tree' first if you also need metadata). Text inline, binary as presigned GET URLs. - include="all": metadata + the file tree + the contents of every file in the clueprint (use sparingly on large cluep…

ParameterTypeDescription
clueprint_id *stringID of the clueprint.
file_pathsarrayinclude='files' only: relative paths to read (e.g. ['design/colors.md', 'rules/voice.md']). Ignored for other modes.
includestringWhat to return: 'metadata' | 'tree' | 'files' | 'all'. Defaults to 'tree'.
project_idstringuse=true only: the project being built from it, when it exists.
usebooleantrue: you are building a project from this clueprint; counts the use. Once per build.

update_clueprint Update clueprint

Update a clueprint's metadata and/or file contents in one call. Metadata fields (`name`, `description`, `tags`, `visibility`, `thumbnail_path`) are applied as a patch — only the fields you pass change. Pass at least one to update metadata. `files` is a list of file mutations: - Write text: `{ path, content }` - Write binary: `{ path, content, encoding: "base64" }` - Write from URL: `{ path, source_url }` (presigned URL, e.g. from get_clip with save=true) - Delete: `{ path, content: null }` You can mix writes and deletes in a single call. Existing files at the same path are overwritten. `…

ParameterTypeDescription
clueprint_id *stringID of the clueprint to update.
brand_lockedbooleantrue: projects built from it keep its own colors, fonts and logos; false: re-skinned to each project's brand kit.
decisionsobjectBuild-time decisions to record (see the description).
descriptionstringNew description.
filesarrayFile mutations — writes and deletes. Empty/omitted for metadata-only updates.
namestringNew name.
tagsarrayNew tags (replaces existing).
thumbnail_pathstringRelative path of a screenshot in the clueprint to use as thumbnail (e.g. 'screenshots/title-slide.png').
visibilitystringNew visibility.

manage_brand_kit Manage brand kit

Create and change the workspace's brand kits (editors and admins). The same operations as the brand kit page, so a kit made here looks the same there. Actions: - "create": a kit from `url` (reads the site's logos, colors, fonts and icons; company details are researched in the background and land in about a minute), or blank with clearly marked placeholders. `name` is optional. - "preview_fill": what `url` would give kit `kit_id`, and which of its sections are still placeholders. Changes nothing. - "fill": apply it. `replace` lists sections that take the site's version (company, logos, colors…

ParameterTypeDescription
action *string
addarrayfill: logos and/or reference_images to add beside the kit's own.
changesobjectupdate: the fields to change.
confirmedbooleandelete: true only after the user agreed to delete this kit.
kit_idstringThe kit; every action but create.
logo_idstringdark_logo: the kit's light-background logo to make it from.
modestringdark_logo: how to make it.
namestringKit name (create).
replacearrayfill: sections that take the site's version; 'palette' is the same as 'colors'.
urlstringWebsite, e.g. 'cursor.com' (create, preview_fill, fill).

set_voice Set voice

Set the voiceover voice for every clip in a project, or only for the clips in `clip_ids`. Use this to apply a clueprint's voice (read `voiceover.voice.name` and `voiceover.voice.engine` from the clueprint source data), or to switch all clips to a specific voice in one call. When the user names specific clips, pass their ids in `clip_ids` so the other clips keep their voice. The voice is looked up by name (case-insensitive; a saved voice's code also works), preferring `voice_engine`. Never guess a name: a name that matches nothing applies the workspace default and returns `matched: false` wit…

ParameterTypeDescription
project_id *stringThe project (guide) ID
voice_engine *stringVoice engine — 'eleven', 'cartesia', 'google', etc.
voice_name *stringVoice name exactly as find(type='voices') lists it (e.g. 'Alex').
clip_idsarrayClip ids to change the voice on. Omit to change EVERY clip in the project.
voice_versionstringElevenLabs voice generation. Leave unset: latest, except a voice the workspace saved keeps its saved version. Use 'legacy' ONLY when the user explicitly asks for the legacy/older voice generation; nev…

pronunciation Pronunciation dictionary

Read and edit the workspace pronunciation dictionary (Settings → Team → Pronunciation Dictionary). Use it whenever the user asks how a word, name or acronym is said. Do NOT respell the word in the voiceover script instead: the respelling shows in the script and captions, and every new video needs the fix again. An entry is WORKSPACE-WIDE: it changes the word in every video in this workspace; tell the user when you add or change one. It applies when speech is generated, so regenerate (voiceover_batch generate_speech) the clips that say the word. action: • list — entries for `langu…

ParameterTypeDescription
action *string
case_sensitivebooleanset: match only this exact casing (default false).
ipastringset: IPA phonemes (slashes optional).
languagestringVoice language code or name (default 'en'); an unknown one is an error.
project_idstringThe project being worked on: its open editors pick up the change.
replacebooleanset: overwrite an existing entry, only after the user confirmed.
spellingstringset: the sound-alike respelling.
textstringto_ipa: text to convert.
wordstringset/remove: the word as written in the script.

translation_glossary Translation glossary and rules

Read and edit the workspace's translation glossary and translation rules (Settings → Translation). Every translation in the workspace follows them: captions translate, translated videos and articles. Use it when the user says how a term must be translated, that a product or brand name must stay untranslated, or how translations into a language should read (tone, formality). Do NOT hand-edit translated captions or text for this instead: the next translation repeats the mistake. Glossary terms: `original` (source text) → `translated` (the original itself keeps it as is), for `languages` (co…

ParameterTypeDescription
action *string
case_sensitivebooleanset_term: match only this exact casing (default false; unchanged on a replace).
examplesarrayset_rule: example translations the rule follows.
languagestringset_rule/remove_rule: the target language (code or name); list: keep what applies to it.
languagesarrayset_term: target language codes or names; [] for every language. Omitted: every language on a new term, unchanged on a replace.
originalstringset_term/remove_term: the term as written in the source language.
promptstringset_rule: the instructions for this language.
querystringlist: keep terms whose text contains this.
replacebooleanset_term/set_rule: overwrite an existing entry, only after the user confirmed.
term_idstringset_term/remove_term: one term from list, when several share an original.
titlestringset_rule: a label (default the language name).
translatedstringset_term: what the term becomes in the translation.

add_comment Add comment

Post a review comment on a project, attributed to "Clueso AI". Use this to leave feedback, suggestions, or notes — either at the project level (no clip_id) or pinned to a specific clip with an optional timestamp inside that clip. Pass `parent_comment_id` to REPLY to an existing comment rather than open a new thread. Read what is already there with `get_comments` first: answering a reviewer in their own thread is what makes the note resolvable, where a fresh top-level comment just adds noise.

ParameterTypeDescription
comment_text *stringComment text to post
project_id *stringThe project (guide) ID
clip_idstringOptional clip ID to pin the comment to. Omit for a project-level comment.
clip_timestampnumberOptional timestamp within the clip (seconds). Only used when clip_id is provided.
parent_comment_idstringReply to this comment instead of starting a new thread. Take the id from get_comments. Replying is how you answer feedback you have acted on — the clip pin and timestamp come from the parent, so lea…

get_comments Get comments

Read the review comments on a project — the other half of `add_comment`, which could post but never read. Comments are how a human reviewer tells you what is wrong with a video: a note pinned to a clip and a moment inside it. Read them before an editing pass so you act on what was actually asked for, and read them again after a build if a reviewer has seen it. Threads come back nested: each top-level comment carries its `replies`. Reply into a thread with add_comment(parent_comment_id=...) rather than posting a new top-level note — a reviewer reading their own thread is how they see that…

ParameterTypeDescription
project_id *stringThe project (guide) ID
clip_idstringOnly comments pinned to this clip. Omit for every comment on the project, project-level ones included.
include_resolvedbooleanInclude threads already marked resolved (default false). Turn it on to see history; leave it off to see the work outstanding.

record_screen Record screen

Records the product on a mock (Code record) as a screen-recording clip in a project. Creates blank placeholder clips, registers job entities, and sends the job to AVS. The blank clips this tool creates are placeholders; they become video clips when processing completes, so removing one loses that scene. Article placeholders are also inserted automatically into plainDoc. Check how the recording is going with get_recording_activity(project_id). A recording can take hours, so check once rather than polling in a loop. Requires the Auto-Recording add-on and per-workspace sign-in credentials for…

ParameterTypeDescription
chat_id *stringConversation context ID
guide_id *stringTarget guide ID
preceding_clip_id *stringClip ID after which to insert the new clip
scenes *arrayREQUIRED — the recording to make, as a list of scenes. This is the ONLY way to specify what to record. A normal single recording is exactly ONE scene; a code-wizard multi-scene / marketing video is…
article_script_modestring'exact': the article is used word for word. 'rewrite': the article may be reworded to match the recording. Overrides exact_article_script when both are set.
clueprint_idstringThe clueprint this video is built from, if any (the id you passed to get_clueprint). Effects placed automatically on the recording follow that clueprint's effect rules; omit it and they follow the def…
custom_instructionsstringOptional per-recording instructions (e.g. "select project X", "add rectangle 200x100"). Not related to mocking.
edit_scene_idsarrayThe clip id(s) this edit replaces. Only used when recording_session_id is set; scenes you do not name are not re-filmed. Set preceding_clip_id to the clip you are replacing — an edit naming a clip t…
exact_article_scriptbooleanLegacy flag — prefer article_script_mode instead. Set to true when the article must be used exactly as written — the agent that does the recording will not reword, rephrase, or rewrite article_scr…
exact_video_scriptbooleanLegacy flag — prefer video_script_mode instead. Set to true when the video narration must be used exactly as written — the agent that does the recording will not reword, rephrase, or rewrite video…
languagestringLanguage code for the recording (default: en)
recording_session_idstringEDIT an existing recording instead of shooting a new one. Pass the recording_session_id from the record_screen that made it, or read it off get_clip. The recorder restores that take's code, notes and…
targetstringWhich recorder to use when the workspace has both Code record and Browser record: 'code' for a mock of the product, 'browser' for the real product — from the user's request, or their answer when it…
video_intentionstringOne-line intent shared across all scenes of a multi-scene recording (e.g. "punchy 30s launch teaser for feature X"). Ignored for single-scene recordings.
video_script_modestringHow the narration is treated. 'exact': the user's narration is final and is read word for word; steps the script does not mention play silently. 'near_exact': keep the user's narration word for word,…
voice_versionstringElevenLabs voice generation for every scene's voice. Leave unset: a named voice uses latest, while a voice the workspace saved and the workspace default keep their own saved version. Use 'legacy' ONLY…

run_script Run a script that calls these tools

Run a JavaScript program that calls this server's tools: loops, math, values carried between calls, one round trip. Use it whenever code says it more directly than separate calls (often). COMPUTE rather than hand-type literals: eased keyframe tracks, staggers, grids, palettes, positions from measured text. STDLIB (loaded): anim (interpolate, spring, stagger, cues), ease, math, vec, rng, noise, color, scale, layout (row, column, grid, split, place, inset), shape, path, camera, field. `native` turns values into editable elements: native.box(rect), native.text(rect, {align, valign, ...type_data}…

ParameterTypeDescription
code *stringJavaScript; tools are synchronous globals (no async/await, network or filesystem); `return` a value.
dry_runbooleanReads run; writes are recorded and skipped.
idempotency_keystringUnique per build: the only guard against a resend (without it a resent call reruns the whole script). A key that already ran in this workspace returns that job and runs nothing, even if it FAILED (its…
project_idstringThe project the script works on: every call inside that takes project_id and leaves it out uses this one.
timeout_secondsintegerScript wall-clock budget (not wait_seconds). Default 50s while waited on, 15 min once it becomes a job; set only to fix one budget for both. Slow: analyze_audio 'transcript'/'beats', export_project, a…
wait_secondsintegerHow long this call waits (default 50s); after that → job_id for get_script_job. The script runs on either way.

get_script_job Get a script job's result

Fetch the outcome of a run_script that did not finish inline. Waits for it rather than returning immediately, so one call is usually enough — set `wait_seconds` to how long you are willing to hold. Returns { job_id, status, result?, error? }. `status` is processing, completed or failed; `result` carries the same { ok, result, stdout, ops } the inline reply would have. The script runs to completion whether or not you poll.

ParameterTypeDescription
job_id *stringFrom the run_script reply.
wait_secondsintegerHow long to wait for completion before answering, default 50s. Pass 0 for an immediate status check.