Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add subtitles
VIDEODB_MCP_ADD_SUBTITLESBurn subtitles into a video from its transcript (requires an existing spoken-word index). Styling follows ASS subtitle conventions; unset fields keep VideoDB defaults. Returns a new stream + player URL with subtitles rendered.
Aggregate index
VIDEODB_MCP_AGGREGATE_INDEXCounts, groups and facets over one index built by create_index (use_for includes 'aggregate') in a video or across a collection. Provide exactly one of index_id or index_name. Returns aggregate rows, not moments.
Ask collection
VIDEODB_MCP_ASK_COLLECTIONAnswer a natural-language question from every indexed video in a collection (requires indexes built by create_index). Returns the answer and, optionally, the source moments.
Ask video
VIDEODB_MCP_ASK_VIDEOAnswer a natural-language question from one video's indexed content (requires an index built by create_index). Returns the answer and, optionally, the source moments.
Compile clips
VIDEODB_MCP_COMPILE_CLIPSStitch moments from one or more videos into a single new stream — e.g. turn search results or create_highlight_clip shots into a highlight reel. Returns immediately with {status:'processing', output_url}; poll output_url (~30 s apart) with an HTTP GET or with get_job_result until it returns stream_url and player_url.
Connect rtstream
VIDEODB_MCP_CONNECT_RTSTREAMRegister a live RTSP/RTMP/HLS stream with VideoDB and start ingesting it. Returns the rtstream ID used by every other rtstream tool. Set store=true if you will later export the recording (export_rtstream_recording).
Create collection
VIDEODB_MCP_CREATE_COLLECTIONCreate a new VideoDB collection to organize videos. Returns the new collection with its ID.
Create event
VIDEODB_MCP_CREATE_EVENTDefine a reusable event (a natural-language condition such as 'a person enters the restricted area') that alerts can watch for on any stream index. Returns the event ID.
Create highlight clip
VIDEODB_MCP_CREATE_HIGHLIGHT_CLIPCreate a highlight clip of a video from a natural-language prompt: selects the moments that match the prompt and returns them as the clip's timestamped shots. Works on spoken content (requires an existing spoken-word index), visual content (requires an existing legacy scene index), or both. Returns immediately with {status:'processing', output_url}; poll output_url (~30 s apart) with an HTTP GET or with get_job_result until it returns the clip's shots with timestamps; pass those shots to compile_clips to render the clip as one playable stream.
Create index
VIDEODB_MCP_CREATE_INDEXBuild a retrieval-ready index from one analyzer's artifact of an understanding run; that analyzer must be done (get_understanding). v2 pipeline: understand_video (extract) → create_index (make retrievable) → semantic_search / query_index / aggregate_index / ask_video. With callback_url the call returns immediately. ## use_for — what the index may be used for | value | enables | | --- | --- | | semantic | semantic_search and search (embeddings) | | query | query_index — exact filters and ranges | | aggregate | aggregate_index — counts, group_by, facets | Omit it for all three. Drop semantic (e.g. ["query"]) to skip embeddings: cheaper, and ready instantly. get_index reports the index's EFFECTIVE capability, so it can be narrower than what you asked for — aggregate only appears once a field is groupable, and an index with no records reports []. ## fields — which artifact fields join which group fields maps a group to the field names in it, not the reverse: `{"semantic":["description"],"filter":["label"],"aggregate":["label"]}`. Groups are semantic (embedded), fts, filter, aggregate, sort, hydrate and return. A field may join several. Names may be dotted paths into nested data — `frames.detections.label` reaches inside every detection. A name that resolves nowhere fails with a 400 listing the fields that do exist. fields is optional per group: a group you declare is used verbatim, a group you omit is derived from the data. | artifact field | derived groups | | --- | --- | | text, scene_description | semantic | | language, brand_names | filter, aggregate | | activity, location | semantic, filter, aggregate | | frames.detections.label | filter, aggregate | | frames.detections.score | filter, sort | Anything else is classified by shape: prose to semantic, short strings and scalar lists to filter and aggregate, numbers also to sort, nested objects stored only. An explicitly empty group opts out and is not refilled — `{"filter":[]}` means no filter fields. ## After it returns The build is rows-first: records are stored before this returns, so query_index and aggregate_index already work while get_index reports "building". Only semantic_search waits for "ready". Reuse one index name across videos to form a logical group that collection-scoped search can target. Indexes sharing a name must share a field structure; a mismatch is rejected with a 400 showing both.
Create rtstream alert
VIDEODB_MCP_CREATE_RTSTREAM_ALERTAttach an event (from create_event) to a stream index so VideoDB POSTs to callback_url each time the event is detected in a new window. Requires a running scene index or index; index_id is verified before the alert is created because alerts cannot be deleted. Returns the alert ID.
Create rtstream index
VIDEODB_MCP_CREATE_RTSTREAM_INDEXMaterialise an understanding output into a continuously updated searchable index (requires understand_rtstream with store=true). Returns the index; search it with search_rtstream and attach alerts with create_rtstream_alert (index_kind=index).
Create sandbox
VIDEODB_MCP_CREATE_SANDBOXStart a GPU sandbox: VideoDB's managed runtime for open-weight models. Hosted models need none of this — a sandbox is required only when a workflow names a model from the catalog below, and is then passed as `config.sandbox_id` to understand_video. Returns as soon as the sandbox is registered, with status "provisioning". Poll get_sandbox until status is "active" before submitting any job to it — a job sent to a provisioning sandbox fails. ## Model catalog | Model | Use case | Minimum tier | | --- | --- | --- | | google/gemma-4-E2B-it | text generation | small | | Qwen/Qwen3-4B | text generation | small | | Qwen/Qwen3.5-9B | text and vision | small | | openai/whisper-large-v3-turbo | speech to text | small | | k2-fsa/OmniVoice | text to speech | small | | stabilityai/stable-audio-open-1.0 | audio generation | small | | rtdetr-v2-r50vd | object detection | small | | google/gemma-4-26B-A4B-it | text and vision | medium | | Qwen/Qwen3.5-27B | text and vision | medium | | black-forest-labs/FLUX.1-dev | image generation | medium | | google/gemma-4-31B-it | text and vision | medium | Pick the smallest tier that supports the largest model you need; one medium sandbox can serve both. Name exact models with `models`, or prepare a whole class with `model_categories` (vlm, object_detection, speech_to_text, text_to_speech, image_generation, audio_generation, text_generation). ## Cost Billing is runtime-based, recorded when the sandbox stops and measured from started_at to stopped_at: small $1/hour, medium $3.50/hour. A sandbox keeps billing until stop_sandbox runs, so reuse one across a workflow and stop it when the work is done. Limits: 5 concurrent small or 3 medium, 24 hours maximum runtime each.
Dataset search
VIDEODB_MCP_DATASET_SEARCHSearch a hosted corpus of 30+ public robot-learning and human-activity datasets (robot and humanoid manipulation, real and simulated, drone flights, egocentric and exocentric human video) for training data. Use it when the user wants to find, count, sample, filter, verify or export episodes, demonstrations or clips for robotics, embodied AI, imitation learning, VLA or policy training, even if they name no dataset. It searches only this corpus, never the user's own VideoDB videos, and its result sets work only with get_result_set, list_result_shots and export_result_set. For which datasets exist and what fields they have, call list_datasets instead; it answers at once. A search agent does the work. It matches the meaning of each record's annotation sentence, filters on fields, counts episodes and, when asked, judges each sentence against the request (rows then carry tier: confirmed, partial, rejected or unjudged). It reads text and fields only and cannot see the footage: it cannot watch clips or classify what the frames show (blur, focus, lighting, image quality). Don't ask it to; it will say so. Write the message as the user's goal in plain language, one goal per message. State every restriction explicitly, naming datasets as list_datasets spells them ("only Ego-Exo4D", "human video only, no robot datasets", "real, not sim"). Ask for judging only when the user wants hits verified; it is slower. Returns at once with {session_id, msg_id, status:'running'}; this is not the answer. Poll get_search_status(msg_id) about every 10 s until status is 'success' or 'error'. A plain search takes seconds to a minute; judging or a multi-step request can take several minutes. One turn runs per session at a time; wait for it before sending the next message. Pass session_id on every follow-up ("of those, only kitchens", "verify them", "export the confirmed ones") so the agent refines its earlier sets; omit it only for a new, unrelated search.
Delete audio
VIDEODB_MCP_DELETE_AUDIOPermanently delete an audio file from a VideoDB collection. This cannot be undone.
Delete collection
VIDEODB_MCP_DELETE_COLLECTIONPermanently delete a collection and everything in it. This cannot be undone. The account's default collection cannot be deleted.
Delete image
VIDEODB_MCP_DELETE_IMAGEPermanently delete an image from a VideoDB collection. This cannot be undone.
Delete index
VIDEODB_MCP_DELETE_INDEXPermanently delete a v2 index (its retrieval structures only; the video and understanding artifacts are kept). This cannot be undone.
Delete scene index
VIDEODB_MCP_DELETE_SCENE_INDEXPermanently delete one visual scene index of a video (the video itself is kept). This cannot be undone.
Delete understanding
VIDEODB_MCP_DELETE_UNDERSTANDINGPermanently delete an understanding run and its stored analyzer artifacts (indexes built from it keep their own data). This cannot be undone.