Volver al catálogo

VideoDB MCP

videodb_mcp

VideoDB MCP lets agents upload, index, search, edit and stream video and audio, generate media, and manage collections in VideoDB.

Acciones
105
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (105)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Add subtitlesVIDEODB_MCP_ADD_SUBTITLESAcción

Burn 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.

Parámetros de entrada

  • boldany

    Bold text.

  • angleany

    Rotation angle in degrees, default 0.

  • italicany

    Italic text.

  • shadowany

    Shadow depth in pixels, default 0.

  • outlineany

    Outline thickness in pixels, default 1.

  • scale_xany

    Horizontal scale factor, default 1.0.

  • scale_yany

    Vertical scale factor, default 1.0.

  • spacingany

    Extra spacing between letters in pixels, default 0.

  • margin_lany

    Left margin in pixels, default 10.

  • margin_rany

    Right margin in pixels, default 10.

  • margin_vany

    Vertical margin in pixels, default 10.

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • alignmentany

    Position of the subtitles on the frame, default bottom_center.

  • font_nameany

    Font family, default Arial.

  • font_sizeany

    Font size, default 18.

  • underlineany

    Underlined text.

  • strike_outany

    Strike-through text.

  • back_colourany

    Background/shadow colour. ASS colour string &HAABBGGRR (alpha, blue, green, red hex), e.g. &H00FFFFFF is opaque white. Default black.

  • border_styleany

    Border style, default outline.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

  • outline_colourany

    Outline colour. ASS colour string &HAABBGGRR (alpha, blue, green, red hex), e.g. &H00FFFFFF is opaque white. Default black.

  • primary_colourany

    Text colour. ASS colour string &HAABBGGRR (alpha, blue, green, red hex), e.g. &H00FFFFFF is opaque white. Default white.

  • secondary_colourany

    Secondary (karaoke) colour. ASS colour string &HAABBGGRR (alpha, blue, green, red hex), e.g. &H00FFFFFF is opaque white.

Parámetros de salida

Sin parámetros.

Aggregate indexVIDEODB_MCP_AGGREGATE_INDEXAcción

Counts, 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.

Parámetros de entrada

  • sortany

    Sort order, e.g. [["start", "asc"]].

  • limitany

    Max groups (default 100).

  • filterany

    Structured filter over index fields, e.g. [{"field": "label", "op": "==", "value": "phone"}] or {"activity": "walking"}.

  • metricany

    count (default), or sum(field), avg(field), min(field), max(field).

  • group_byany

    Aggregatable field to group by; dotted paths allowed, e.g. frames.detections.label.

  • index_idany

    Index ID from list_indexes. Provide exactly one of index_id or index_name.

  • video_idany

    VideoDB video ID (starts with m-). Omit to run against the whole collection.

  • index_nameany

    Index name from list_indexes. Provide exactly one of index_name or index_id.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Ask collectionVIDEODB_MCP_ASK_COLLECTIONAcción

Answer 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.

Parámetros de entrada

  • modeany

    Retrieval mode for sources (default 'default').

  • top_kany

    Candidate moments retrieved as evidence (default 15).

  • questionstringObligatorio

    Question to answer from the indexed content.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

  • include_sourcesany

    Return the supporting moments alongside the answer (default false).

Parámetros de salida

Sin parámetros.

Ask videoVIDEODB_MCP_ASK_VIDEOAcción

Answer 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.

Parámetros de entrada

  • modeany

    Retrieval mode for sources (default 'default').

  • top_kany

    Candidate moments retrieved as evidence (default 15).

  • questionstringObligatorio

    Question to answer from the indexed content.

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

  • include_sourcesany

    Return the supporting moments alongside the answer (default false).

Parámetros de salida

Sin parámetros.

Compile clipsVIDEODB_MCP_COMPILE_CLIPSAcción

Stitch 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.

Parámetros de entrada

  • clipsobject[]Obligatorio

    Clips in playback order.

Parámetros de salida

Sin parámetros.

Connect rtstreamVIDEODB_MCP_CONNECT_RTSTREAMAcción

Register 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).

Parámetros de entrada

  • urlstringObligatoriouri

    Stream URL, e.g. rtsp://host:8554/cam1.

  • namestringObligatorio

    Display name for the stream.

  • storeany

    Keep the recording so it can be exported later. Default false.

  • media_typesany

    Which tracks to capture.

  • sample_rateany

    Frame sampling rate; server default 30.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

  • enable_transcriptany

    Start real-time transcription on connect.

Parámetros de salida

Sin parámetros.

Create collectionVIDEODB_MCP_CREATE_COLLECTIONAcción

Create a new VideoDB collection to organize videos. Returns the new collection with its ID.

Parámetros de entrada

  • namestringObligatorio

    Collection name.

  • is_publicany

    Make the collection publicly viewable.

  • descriptionany

    Optional description.

Parámetros de salida

Sin parámetros.

Create eventVIDEODB_MCP_CREATE_EVENTAcción

Define 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.

Parámetros de entrada

  • labelstringObligatorio

    Short machine-friendly label, e.g. intrusion.

  • event_promptstringObligatorio

    Condition to detect, in natural language.

Parámetros de salida

Sin parámetros.

Create highlight clipVIDEODB_MCP_CREATE_HIGHLIGHT_CLIPAcción

Create 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.

Parámetros de entrada

  • promptstringObligatorio

    What the highlight should contain, e.g. 'every product demo moment'.

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • model_nameany

    Selection model quality tier.

  • content_typeany

    Which index to select moments from.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Create indexVIDEODB_MCP_CREATE_INDEXAcción

Build 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.

Parámetros de entrada

  • nameany

    Index name; used by semantic_search index_names and get_index.

  • fieldsany

    One object mapping each group to the field names in it, e.g. {"semantic":["description"],"filter":["label"],"aggregate":["label"]} — not field to groups. Other groups: fts, sort, hydrate, return. Names may be dotted paths such as "frames.detections.label". An empty array opts a group out; an omitted group is derived from the data.

  • use_forany

    Capabilities to build: semantic (embeddings), query (filters), aggregate (group/count). Omit for all three; drop semantic to skip embeddings.

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • analyzer_idany

    Analyzer ID (an_...). Give this or analyzer_name.

  • callback_urlany

    Optional webhook URL VideoDB calls when the job finishes (makes the call return immediately).

  • analyzer_nameany

    Analyzer name inside the run, e.g. 'transcript', 'scene', 'objects'. Give this or analyzer_id.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

  • understanding_idstringObligatorio

    Understanding run ID (from understand_video / list_understandings).

Parámetros de salida

Sin parámetros.

Create rtstream alertVIDEODB_MCP_CREATE_RTSTREAM_ALERTAcción

Attach 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.

Parámetros de entrada

  • event_idstringObligatorio

    Event ID from create_event.

  • index_idstringObligatorio

    Scene index ID or index ID to watch.

  • index_kindany

    scene_index = created by index_rtstream_scenes/index_rtstream_audio; index = created by create_rtstream_index.

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

  • callback_urlstringObligatoriouri

    Webhook that receives each alert.

Parámetros de salida

Sin parámetros.

Create rtstream indexVIDEODB_MCP_CREATE_RTSTREAM_INDEXAcción

Materialise 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).

Parámetros de entrada

  • nameany

    Index name.

  • outputany

    Which analyzer output of the understanding to index.

  • use_forany

    Index capabilities; server default ["semantic"].

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

  • understanding_idstringObligatorio

    Understanding ID from understand_rtstream.

Parámetros de salida

Sin parámetros.

Create sandboxVIDEODB_MCP_CREATE_SANDBOXAcción

Start 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.

Parámetros de entrada

  • nameany

    Human-readable name; VideoDB generates one if omitted.

  • tierany

    Compute tier. small covers object detection and the lighter VLMs; medium is needed for FLUX and the larger VLMs.

  • modelsany

    Exact model names to prepare, e.g. ["rtdetr-v2-r50vd"]. Use these when the workflow is known.

  • callback_urlany

    Webhook VideoDB calls on provisioning events.

  • model_categoriesany

    Model classes to prepare instead of exact names, e.g. ["vlm","object_detection"].

Parámetros de salida

Sin parámetros.

Dataset searchVIDEODB_MCP_DATASET_SEARCHAcción

Search 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.

Parámetros de entrada

  • messagestringObligatorio

    The user's goal in plain language: the task, activity or scene, every dataset or field restriction, and whether hits should be verified.

  • session_idany

    session_id from an earlier dataset_search, to continue that conversation and refer to its result sets.

Parámetros de salida

Sin parámetros.

Delete audioVIDEODB_MCP_DELETE_AUDIOAcción

Permanently delete an audio file from a VideoDB collection. This cannot be undone.

Parámetros de entrada

  • audio_idstringObligatorio

    VideoDB audio ID (starts with a-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Delete collectionVIDEODB_MCP_DELETE_COLLECTIONAcción

Permanently delete a collection and everything in it. This cannot be undone. The account's default collection cannot be deleted.

Parámetros de entrada

  • collection_idstringObligatorio

    ID of the collection to delete (the default collection is refused).

Parámetros de salida

Sin parámetros.

Delete imageVIDEODB_MCP_DELETE_IMAGEAcción

Permanently delete an image from a VideoDB collection. This cannot be undone.

Parámetros de entrada

  • image_idstringObligatorio

    VideoDB image ID (starts with img-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Delete indexVIDEODB_MCP_DELETE_INDEXAcción

Permanently delete a v2 index (its retrieval structures only; the video and understanding artifacts are kept). This cannot be undone.

Parámetros de entrada

  • index_idstringObligatorio

    Index ID (from create_index / list_indexes).

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Delete scene indexVIDEODB_MCP_DELETE_SCENE_INDEXAcción

Permanently delete one visual scene index of a video (the video itself is kept). This cannot be undone.

Parámetros de entrada

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

  • scene_index_idstringObligatorio

    Scene index ID to delete.

Parámetros de salida

Sin parámetros.

Delete understandingVIDEODB_MCP_DELETE_UNDERSTANDINGAcción

Permanently delete an understanding run and its stored analyzer artifacts (indexes built from it keep their own data). This cannot be undone.

Parámetros de entrada

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

  • understanding_idstringObligatorio

    Understanding run ID (from understand_video / list_understandings).

Parámetros de salida

Sin parámetros.

Delete videoVIDEODB_MCP_DELETE_VIDEOAcción

Permanently delete a video from a VideoDB collection. This cannot be undone.

Parámetros de entrada

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Download streamVIDEODB_MCP_DOWNLOAD_STREAMAcción

Render any VideoDB stream URL (from generate_clip, compile_clips, add_subtitles or get_video) into a downloadable MP4 file. 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 download_url. A stream that was already exported answers with download_url at once.

Parámetros de entrada

  • namestringObligatorio

    File name for the download, e.g. 'highlights.mp4'.

  • stream_urlstringObligatoriouri

    A VideoDB stream URL (.m3u8).

Parámetros de salida

Sin parámetros.

Download timeline renderVIDEODB_MCP_DOWNLOAD_TIMELINE_RENDERAcción

Start an MP4 export of a stream produced by render_timeline. 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 download_url. Older backends answer with download_url directly.

Parámetros de entrada

  • stream_urlstringObligatoriouri

    stream_url returned by render_timeline.

Parámetros de salida

Sin parámetros.

Export reelVIDEODB_MCP_EXPORT_REELAcción

MP4 export run by the player's reel view. Not for direct use.

Parámetros de entrada

  • namestringObligatorio

    File name of the MP4.

  • clipsobject[]

    Clips in reel order; starts the export.

  • stagestringenum

    Stage of a running export.

    joiningrendering
  • output_urlstringuri

    Job URL of a running export.

Parámetros de salida

Sin parámetros.

Export result setVIDEODB_MCP_EXPORT_RESULT_SETAcción

Export a result set from dataset_search as downloadable training data, by content_id, in the set's rank order: at most 50 rows per call for lerobot or rlds, 10 for mcap (also the fallback when formats is omitted). For a larger set, call again with offset set to the previous reply's rows.next_offset until it is null; each call is its own export and download. A slice that is still too large to export at once is refused with a smaller limit to use. Export a finished set only (after get_search_status reports success); to export a subset such as the confirmed tier, ask dataset_search for that set in the same session and export its content_id. The output depends on each row's dataset and its export lane in list_datasets, not on the annotation layer that matched: - robot: one training format per export, lerobot, rlds or mcap. Each row exports its whole episode with the recorded state, action and every camera; rows from the same episode become one episode. Only what the source records is exported; multi-dimensional sensor arrays such as depth maps, LiDAR and tactile grids are left out; nothing is inferred or synthesized. - clip: MP4 only, frame-accurate clips of each annotated span plus clips/manifest.json with the annotation text. formats does not apply. - blocked: skipped and listed in errors.json while the rest of the set exports. A set with robot rows needs a format: use the one the user named, or ask them (LeRobot/Hugging Face → lerobot, RLDS/TFDS/Open X-Embodiment → rlds, ROS 2/Foxglove → mcap); left out, it falls back to mcap. A mixed set writes the robot format and the MP4 clips side by side. Returns {export_id, status:'queued', rows:{offset, limit, total, next_offset}} at once. Next: poll get_export_status(export_id).

Parámetros de entrada

  • fpsany

    Frame rate lerobot and rlds episodes are sampled at; mcap keeps the recorded timing.

  • limitany

    Rows to export in this call: at most 50 for lerobot/rlds, 10 for mcap. Omit for that maximum.

  • offsetany

    First row to export, in rank order; use the previous reply's rows.next_offset.

  • formatsany

    Robot-lane rows only: exactly one of lerobot, rlds, mcap (falls back to mcap if omitted). Clip-lane rows are always MP4 clips; omit for a set with no robot rows.

  • content_idstringObligatorio

    A result set's content_id (srs-…), from get_search_status → result_sets[].content_id.

  • mcap_profileany

    MCAP message encoding: foxglove for Foxglove Studio, ros2 for ROS 2 tooling.

  • rlds_action_fieldsany

    RLDS only: split the action vector into named fields, an index for a scalar or a list of indices for a vector. Omit to keep the vector whole.

  • rlds_observation_namesany

    RLDS only: source stream → observation key, default {front:'image', wrist:'hand_image', state:'robot_state'}.

Parámetros de salida

Sin parámetros.

Export rtstream recordingVIDEODB_MCP_EXPORT_RTSTREAM_RECORDINGAcción

Export the latest completed recording of a real-time stream as a regular VideoDB video (or audio) asset. Requires the stream to have been connected with store=true and to be stopped. Idempotent: repeated calls return the same asset.

Parámetros de entrada

  • nameany

    Asset name; default "<stream name> - Recording".

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

Parámetros de salida

Sin parámetros.

Generate clipVIDEODB_MCP_GENERATE_CLIPAcción

Cut a clip (or a supercut of several segments) from a single video without re-encoding. 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 (watchable in any browser).

Parámetros de entrada

  • timelinearray[]Obligatorio

    Segments as [start_seconds, end_seconds] pairs, e.g. [[10, 25], [60, 90]].

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Generate thumbnailVIDEODB_MCP_GENERATE_THUMBNAILAcción

Get the default thumbnail of a video, or generate one from a specific timestamp (in seconds).

Parámetros de entrada

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • time_secondsany

    Timestamp to capture; omit for the default thumbnail.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Generate transcriptVIDEODB_MCP_GENERATE_TRANSCRIPTAcción

Transcribe a video or audio file (speech to text), optionally forcing a fresh transcription or hinting the spoken language. Returns immediately with {status:'processing', output_url}; poll output_url (~30 s apart) with an HTTP GET or with get_job_result until status is done, then read the text with get_transcript. Media that already has a transcript answers done at once.

Parámetros de entrada

  • forceany

    Re-transcribe even if a transcript already exists.

  • media_idany

    VideoDB media ID: m- (video) or a- (audio).

  • video_idany

    Deprecated alias of media_id; accepts a video ID (m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

  • language_codeany

    BCP-47/ISO language code of the speech, e.g. 'en', 'hi'. Auto-detected if omitted.

Parámetros de salida

Sin parámetros.

Get account usageVIDEODB_MCP_GET_ACCOUNT_USAGEAcción

Get the connected VideoDB account's current usage and billing summary as reported by VideoDB.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Get analyzer outputVIDEODB_MCP_GET_ANALYZER_OUTPUTAcción

Return the raw artifact one analyzer produced in an understanding run, such as transcript segments or per-scene descriptions with start/end. Requires the analyzer status to be done (see get_understanding). Lists are capped at 200 items.

Parámetros de entrada

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • analyzer_idany

    Analyzer ID (an_...). Give this or analyzer_name.

  • analyzer_nameany

    Analyzer name inside the run, e.g. 'transcript', 'scene', 'objects'. Give this or analyzer_id.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

  • understanding_idstringObligatorio

    Understanding run ID (from understand_video / list_understandings).

Parámetros de salida

Sin parámetros.

Get audioVIDEODB_MCP_GET_AUDIOAcción

Get metadata for one audio file: name, duration and size.

Parámetros de entrada

  • audio_idstringObligatorio

    VideoDB audio ID (starts with a-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Get collectionVIDEODB_MCP_GET_COLLECTIONAcción

Get one collection's ID, name, description and public/private visibility.

Parámetros de entrada

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Get export statusVIDEODB_MCP_GET_EXPORT_STATUSAcción

Poll an export_result_set job by export_id every 15–30 s until status is 'complete' or 'failed'. progress and summary report requested, exported and failed rows; a complete job can still hold a partial dataset, so read summary and tell the user what was left out (per-row reasons are in errors.json inside the download). A complete export carries download.url and download.curl, valid for one hour and bound to the first machine that fetches it. Give the link to the user to download on their own machine; do not fetch it yourself unless you are the one who needs the files. For a machine behind a rotating IP, call again with portable=true for an unbound single-use link. Calling again mints a fresh link for the same bytes; compare download.sha256 with a copy already downloaded before fetching again. Exports are kept for 7 days.

Parámetros de entrada

  • portableany

    true for an unbound single-use link, for a machine behind a rotating IP.

  • export_idstringObligatorio

    export_id returned by export_result_set.

Parámetros de salida

Sin parámetros.

Get imageVIDEODB_MCP_GET_IMAGEAcción

Get metadata for one image: name and URL.

Parámetros de entrada

  • image_idstringObligatorio

    VideoDB image ID (starts with img-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Get indexVIDEODB_MCP_GET_INDEXAcción

Get one v2 index manifest by ID or name: status (building/ready/failed), record count, capabilities and field schema.

Parámetros de entrada

  • nameany

    Index name. Give this or index_id.

  • index_idany

    Index ID. Give this or name.

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Get index recordsVIDEODB_MCP_GET_INDEX_RECORDSAcción

Page through the records stored in a v2 index (scene_id, start, end, data). Pass next_cursor from the previous page to continue.

Parámetros de entrada

  • limitany

    Records per page.

  • cursorany

    next_cursor from the previous page.

  • index_idstringObligatorio

    Index ID (from create_index / list_indexes).

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Get job resultVIDEODB_MCP_GET_JOB_RESULTAcción

Fetch the result of a background job started by upload_media, render_timeline, download_timeline_render, download_stream, generate_clip, compile_clips, create_highlight_clip, reframe_video, generate_transcript or translate_transcript. Pass the output_url those tools returned. While the job is running the reply is {status:'processing'} with the same output_url — wait ~30 s and call again; when it finishes the reply is the job's result (media record, stream_url + player_url, download_url, shots, or translated segments). If the job itself failed the reply is {status:'failed', message} — the job will not recover, so do not keep polling. If it failed because the account is out of credit the reply is {status:'insufficient_credit', console_url} instead. Only VideoDB job URLs are accepted.

Parámetros de entrada

  • output_urlstringObligatoriouri

    The output_url returned by a job-starting tool.

Parámetros de salida

Sin parámetros.

Get media download urlVIDEODB_MCP_GET_MEDIA_DOWNLOAD_URLAcción

Get a signed, time-limited download URL for an audio file (a-) or image (img-). Video IDs (m-) are not supported here — use download_stream for an MP4 of a video.

Parámetros de entrada

  • media_idstringObligatorio

    VideoDB media ID: m- (video), a- (audio) or img- (image).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Get result setVIDEODB_MCP_GET_RESULT_SETAcción

Summary of a result set from dataset_search: name, count (rows), video_count, scope (the query and filters that built it), complete (false when a cap cut it short), tiers (confirmed/partial/rejected/unjudged counts, when judged), score range, and the top value counts of each low-cardinality field (e.g. dataset, task, tier). Use it to answer "how many" and "what's in it" without paging rows, and to pick values for list_result_shots `where`. Many rows can share one annotation sentence, so a large count is not the same as varied data. The dataset counts say what export_result_set will produce; list_datasets gives each dataset's export lane. Sets belong to the caller and persist across conversations.

Parámetros de entrada

  • content_idstringObligatorio

    A result set's content_id (srs-…), from get_search_status → result_sets[].content_id.

Parámetros de salida

Sin parámetros.

Get rtstreamVIDEODB_MCP_GET_RTSTREAMAcción

Get one real-time stream: name, status, sample rate, media types, creation time.

Parámetros de entrada

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

Parámetros de salida

Sin parámetros.

Get rtstream index recordsVIDEODB_MCP_GET_RTSTREAM_INDEX_RECORDSAcción

Read the records materialised into an understanding-backed index, optionally limited to a Unix-second start/end window. Paginated.

Parámetros de entrada

  • endany
  • pageany

    Page number (1-based).

  • startany
  • index_idstringObligatorio

    Index ID (idx-…).

  • page_sizeany

    Items per page.

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

Parámetros de salida

Sin parámetros.

Get rtstream scenesVIDEODB_MCP_GET_RTSTREAM_SCENESAcción

Read the records a scene index has produced so far (Unix-second start/end plus description). Filter to a time window with start and end together; paginate with page/page_size.

Parámetros de entrada

  • endany
  • pageany

    Page number (1-based).

  • startany
  • page_sizeany

    Items per page.

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

  • scene_index_idstringObligatorio

    Scene index ID (rtstream_index_id from list_rtstream_scene_indexes).

Parámetros de salida

Sin parámetros.

Get rtstream streamVIDEODB_MCP_GET_RTSTREAM_STREAMAcción

Generate a playable stream and player URL for a time window of a real-time stream. start and end are Unix timestamps in seconds (e.g. the start/end of a search hit or scene record).

Parámetros de entrada

  • endintegerObligatorio

    End time as a Unix timestamp in seconds.

  • startintegerObligatorio

    Start time as a Unix timestamp in seconds.

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

Parámetros de salida

Sin parámetros.

Get rtstream transcriptVIDEODB_MCP_GET_RTSTREAM_TRANSCRIPTAcción

Read the real-time transcript of a stream (requires transcription started via connect_rtstream enable_transcript or set_rtstream_transcript_status). Filter by Unix-second start/end, or pass since to poll for new segments only.

Parámetros de entrada

  • endany
  • pageany

    Page number (1-based).

  • sinceany

    Only segments after this Unix timestamp (for polling).

  • startany
  • page_sizeany

    Items per page.

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

Parámetros de salida

Sin parámetros.

Get rtstream understanding recordsVIDEODB_MCP_GET_RTSTREAM_UNDERSTANDING_RECORDSAcción

Read the analysis records an understanding produced for a Unix-second time range (start and end required). Paginated.

Parámetros de entrada

  • endintegerObligatorio

    End time as a Unix timestamp in seconds.

  • pageany

    Page number (1-based).

  • startintegerObligatorio

    Start time as a Unix timestamp in seconds.

  • outputany

    Analyzer output name (output_name given to understand_rtstream).

  • page_sizeany

    Items per page.

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

  • understanding_idstringObligatorio

    Understanding ID (und-…).

Parámetros de salida

Sin parámetros.

Get sandboxVIDEODB_MCP_GET_SANDBOXAcción

Get one sandbox: its status, tier, prepared models and lifetime. Statuses are provisioning (starting, not usable yet), active (ready for jobs), alert (usable but degraded), stopping, stopped and failed. Both stopped and failed are terminal — a sandbox cannot be restarted, so create a new one.

Parámetros de entrada

  • sandbox_idstringObligatorio

    Sandbox ID, from create_sandbox or list_sandboxes.

Parámetros de salida

Sin parámetros.

Get scene indexVIDEODB_MCP_GET_SCENE_INDEXAcción

Return the per-scene records (start, end, description) of an existing legacy visual scene index. Output is capped at 200 scenes.

Parámetros de entrada

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

  • scene_index_idstringObligatorio

    Scene index ID (from list_scene_indexes).

Parámetros de salida

Sin parámetros.

Get search statusVIDEODB_MCP_GET_SEARCH_STATUSAcción

Poll a dataset_search turn by its msg_id; returns immediately. Call about every 10 s while status is 'running' (actions and updates show what the agent has done so far; relay progress if the wait is long). 'success' carries reply (what was searched, counts, top score, whether anything was capped, the next step) and result_sets: one per set the agent produced, each with content_id, name, count (rows), video_count and up to 10 preview rows. 'error' carries a reply saying what to do next; the session stays usable. Relay reply to the user. Then use each content_id: get_result_set for totals and field counts, list_result_shots for the rows with their watch_url links, export_result_set for training files. To refine, call dataset_search again with the same session_id.

Parámetros de entrada

  • msg_idstringObligatorio

    msg_id returned by dataset_search.

Parámetros de salida

Sin parámetros.

Get transcode statusVIDEODB_MCP_GET_TRANSCODE_STATUSAcción

Get the status and output of a transcode job started by transcode_media.

Parámetros de entrada

  • job_idstringObligatorio

    Transcode job ID returned by transcode_media.

Parámetros de salida

Sin parámetros.

Get transcriptVIDEODB_MCP_GET_TRANSCRIPTAcción

Get the transcript of a video or audio file, either as plain text or with timestamped segments (per word, sentence, or time window). Reads an existing transcript only — media that has never been transcribed returns an error naming generate_transcript. Timestamped output is capped at 2000 segments; narrow with start/end or a coarser segmenter.

Parámetros de entrada

  • endany

    Only include speech before this second.

  • startany

    Only include speech after this second.

  • media_idany

    VideoDB media ID: m- (video) or a- (audio).

  • video_idany

    Deprecated alias of media_id; accepts a video ID (m-).

  • segmenterany

    How to split timestamped segments: one per word (default), per sentence, or fixed time windows.

  • timestampedany

    true → timestamped segments plus text; false → plain text only.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

  • segment_lengthany

    Units per segment: words/sentences per segment, or seconds per segment when segmenter is 'time'.

Parámetros de salida

Sin parámetros.

Get understandingVIDEODB_MCP_GET_UNDERSTANDINGAcción

Get the status of one understanding run and of each analyzer in it (pending, running, done, failed). v2 pipeline: understand_video (extract) → create_index (make retrievable) → semantic_search / query_index / aggregate_index / ask_video.

Parámetros de entrada

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

  • understanding_idstringObligatorio

    Understanding run ID (from understand_video / list_understandings).

Parámetros de salida

Sin parámetros.

Get videoVIDEODB_MCP_GET_VIDEOAcción

Get metadata for one video: name, duration, thumbnail, stream URL, and a player URL for watching it in a browser.

Parámetros de entrada

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Index rtstream audioVIDEODB_MCP_INDEX_RTSTREAM_AUDIOAcción

Start a continuous spoken-word index on a real-time stream: the live transcript is chunked by segmenter/segment_value and summarised with the prompt. Requires audio in media_types; transcription auto-starts unless auto_start_transcript=false.

Parámetros de entrada

  • nameany

    Index name.

  • promptany

    How to summarise each transcript segment.

  • segmenterany

    How to chunk the transcript.

  • model_nameany

    Model name; server default if omitted.

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

  • segment_valueany

    Chunk size: words, sentences, or seconds depending on segmenter.

  • auto_start_transcriptany

    Start transcription if it is not running.

Parámetros de salida

Sin parámetros.

Index rtstream scenesVIDEODB_MCP_INDEX_RTSTREAM_SCENESAcción

Start a continuous visual (scene) index on a real-time stream: every window_seconds, frame_count frames are described with the prompt. Returns the scene index; read results with get_rtstream_scenes, search with search_rtstream.

Parámetros de entrada

  • nameany

    Index name.

  • promptany

    What to describe or watch for in each window.

  • model_nameany

    Vision model name; server default if omitted.

  • frame_countany

    Frames sampled per window (default 5).

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

  • window_secondsany

    Length of each window in seconds; server default applies if omitted.

Parámetros de salida

Sin parámetros.

Legacy search collectionVIDEODB_MCP_LEGACY_SEARCH_COLLECTIONAcción

Search every indexed video in a collection and get matching moments grouped by video, with timestamps and scores. Searches existing legacy v1 spoken-word/scene indexes. For indexes built by create_index, use search_video / search_collection instead.

Parámetros de entrada

  • querystringObligatorio

    Natural-language search query.

  • index_typeany

    Index to search: spoken_word or scene.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

  • result_thresholdany

    Max results.

Parámetros de salida

Sin parámetros.

Legacy search videoVIDEODB_MCP_LEGACY_SEARCH_VIDEOAcción

Search within one video and get matching moments with start/end timestamps, text, and relevance scores. Searches existing legacy v1 spoken-word/scene indexes. For indexes built by create_index, use search_video / search_collection instead.

Parámetros de entrada

  • querystringObligatorio

    What to look for, e.g. 'moments where pricing is discussed'.

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • index_typeany

    Index to search: spoken_word or scene.

  • search_typeany

    semantic or keyword matching. Keyword works on videos only.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

  • scene_index_idany

    Scene index ID from list_scene_indexes. Required when search_type=keyword and index_type=scene.

  • result_thresholdany

    Max results.

Parámetros de salida

Sin parámetros.

List assetsVIDEODB_MCP_LIST_ASSETSAcción

List videos, audio files and images together in one paginated result, filtered by type, name pattern, duration or file size, and sorted by name, duration or size. Omit collection_id to search the whole account; give it to scope to one collection. Returns {assets: [...], pagination: {page, page_size, total_count, total_pages}}. Rows carry no creation timestamp, so the default created_at order is newest-first within each type rather than a single ordering across types; sort by name, duration or size for a total order. Image rows carry no URL — use get_image or get_media_download_url for one. Prefer this over list_videos/list_audios/list_images whenever the account is large or the answer needs filtering, sorting or paging.

Parámetros de entrada

  • pageany

    Page number (1-based).

  • sort_byany

    Field to sort on. created_at is newest-first per type only, since rows carry no timestamp.

  • max_sizeany

    Maximum file size in bytes.

  • min_sizeany

    Minimum file size in bytes.

  • page_sizeany

    Items per page.

  • asset_typeany

    Asset types to include. Omitted = all three.

  • sort_orderany

    Sort direction.

  • max_durationany

    Maximum duration in seconds (videos and audio).

  • min_durationany

    Minimum duration in seconds (videos and audio).

  • name_patternany

    Case-insensitive regular expression matched against the asset name, e.g. 'keynote|demo'.

  • collection_idany

    Scope to one collection. Omitted = every collection in the account.

Parámetros de salida

Sin parámetros.

List audiosVIDEODB_MCP_LIST_AUDIOSAcción

List audio files in a VideoDB collection: IDs, names, durations and sizes. Returns {audios: [...]} with the first 200 files; `truncated: true` and `total` are set when the collection holds more. The endpoint has no pagination, so the rest can only be reached by get_audio with a known ID.

Parámetros de entrada

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

List collectionsVIDEODB_MCP_LIST_COLLECTIONSAcción

List all collections in the connected VideoDB account, with their IDs, names, descriptions and visibility.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

List datasetsVIDEODB_MCP_LIST_DATASETSAcción

The datasets in the hosted robot-learning and human-activity corpus that dataset_search searches. Each entry has its index name (what a row's dataset field holds), the dataset's name, what one record spans, its field groups (semantic: the annotation sentence that search matches; filter, aggregate, sort: the fields that can narrow, group or order it), and its export lane (robot: one of lerobot, rlds or mcap; clip: MP4 clips of each span; blocked: not exportable). Returns at once. Use it to answer questions about the corpus itself (which datasets exist, what each records, which fields or annotation layers it has, what can be exported) and to spell a dataset restriction before a dataset_search. Record counts and the values a field takes are not here; ask dataset_search for those.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

List eventsVIDEODB_MCP_LIST_EVENTSAcción

List the events defined on this account (ID, label, prompt).

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

List imagesVIDEODB_MCP_LIST_IMAGESAcción

List images in a VideoDB collection: IDs, names and URLs. Returns {images: [...]} with the first 200 images; `truncated: true` and `total` are set when the collection holds more. The endpoint has no pagination, so the rest can only be reached by get_image with a known ID.

Parámetros de entrada

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

List indexesVIDEODB_MCP_LIST_INDEXESAcción

List the v2 indexes of a video (ID, name, status, capabilities, record count). v2 pipeline: understand_video (extract) → create_index (make retrievable) → semantic_search / query_index / aggregate_index / ask_video.

Parámetros de entrada

  • use_forany

    Only indexes supporting this capability.

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

List invoicesVIDEODB_MCP_LIST_INVOICESAcción

List the connected VideoDB account's invoices (first 200; `truncated` is set when more exist).

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

List result shotsVIDEODB_MCP_LIST_RESULT_SHOTSAcción

Rows of a result set, at most 200 per page. Each row is one annotated time span: video_id, start/end (seconds), text (the annotation sentence that matched), score, dataset (it decides what export_result_set produces), rank, its stored fields (e.g. episode_index, task, tier) and watch_url, a link to the source footage seeked to the span, or null when the source is not browser-playable. Present watch_url as a clickable link; these rows are not VideoDB media, so the video tools (show_video, generate_clip and the rest) do not take them. `where` matches stored fields exactly ({tier:'confirmed'}, {dataset:'egoexo4d'}); take values from get_result_set. `q` is a case-insensitive substring match on the sentence. Returns {shots, next_cursor}; pass next_cursor back for the next page, null means the last page. A page can take several seconds, so page only as far as the user needs; export_result_set reads rows by content_id, so rows never need to be collected for export.

Parámetros de entrada

  • qany

    Case-insensitive text match on the row text.

  • sortany
  • limitany
  • orderany
  • whereany

    Exact matches on stored fields, e.g. {tier:'confirmed'}.

  • cursorany

    next_cursor from the previous page.

  • video_idany

    Only rows from this video.

  • min_scoreany

    Drop rows scoring below this.

  • content_idstringObligatorio

    A result set's content_id (srs-…), from get_search_status → result_sets[].content_id.

Parámetros de salida

Sin parámetros.

List rtstream alertsVIDEODB_MCP_LIST_RTSTREAM_ALERTSAcción

List the alerts attached to a stream index, with their event, callback and enabled state.

Parámetros de entrada

  • index_idstringObligatorio

    Scene index ID or index ID.

  • index_kindany

    scene_index = created by index_rtstream_scenes/index_rtstream_audio; index = created by create_rtstream_index.

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

Parámetros de salida

Sin parámetros.

List rtstream indexesVIDEODB_MCP_LIST_RTSTREAM_INDEXESAcción

List the understanding-backed indexes on a real-time stream with their status, source understanding and capabilities.

Parámetros de entrada

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

Parámetros de salida

Sin parámetros.

List rtstreamsVIDEODB_MCP_LIST_RTSTREAMSAcción

List real-time streams in the account with their IDs, names, status and media types. The API scopes this to the whole account, not one collection — each row carries its collection_id. Filter by status or name; paginate with limit/offset.

Parámetros de entrada

  • nameany

    Filter by name.

  • limitany

    Max streams to return.

  • offsetany

    Number of streams to skip.

  • statusany

    Filter by status, e.g. connected or stopped.

  • orderingany

    Sort field, prefix with - for descending, e.g. -created_at.

Parámetros de salida

Sin parámetros.

List rtstream scene indexesVIDEODB_MCP_LIST_RTSTREAM_SCENE_INDEXESAcción

List the scene (visual and audio) indexes on a real-time stream with their IDs, prompts and status.

Parámetros de entrada

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

Parámetros de salida

Sin parámetros.

List rtstream understandingsVIDEODB_MCP_LIST_RTSTREAM_UNDERSTANDINGSAcción

List the continuous understanding jobs on a real-time stream with their status, segmentation, analyzers and output descriptors.

Parámetros de entrada

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

Parámetros de salida

Sin parámetros.

List sandboxesVIDEODB_MCP_LIST_SANDBOXESAcción

List the account's sandboxes with their status, tier and prepared models. Filter with status="active" to find a running sandbox to reuse before creating (and paying for) another one.

Parámetros de entrada

  • pageany

    Page number (1-based).

  • statusany

    Only return sandboxes in this state. Omitted = every state.

  • page_sizeany

    Sandboxes per page, max 100.

Parámetros de salida

Sin parámetros.

List scene indexesVIDEODB_MCP_LIST_SCENE_INDEXESAcción

List the visual (scene) indexes that exist for a video, including their IDs, names and status. Useful before a scene search.

Parámetros de entrada

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

List thumbnailsVIDEODB_MCP_LIST_THUMBNAILSAcción

List every thumbnail image generated for a video (see generate_thumbnail), with image IDs and URLs.

Parámetros de entrada

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

List understandingsVIDEODB_MCP_LIST_UNDERSTANDINGSAcción

List every understanding run of a video with its status and analyzers. v2 pipeline: understand_video (extract) → create_index (make retrievable) → semantic_search / query_index / aggregate_index / ask_video.

Parámetros de entrada

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

List videosVIDEODB_MCP_LIST_VIDEOSAcción

List videos in a VideoDB collection: IDs, names, durations, and playable stream/player URLs. Returns {videos: [...]} with the first 200 videos; `truncated: true` and `total` are set when the collection holds more. The endpoint has no pagination, so use search_videos_by_title or search_collection to reach videos beyond the cap.

Parámetros de entrada

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Load assetsVIDEODB_MCP_LOAD_ASSETSAcción

Pages, filters and opens items in the player's gallery view. Not for direct use.

Parámetros de entrada

  • idsstring[]

    Show these assets instead of a listing (m-…, a-… or img-… IDs). One ID opens it directly.

  • pageinteger

    Page to load.

  • titlestring

    Heading, e.g. the collection's name.

  • asset_typestringenum

    Show only videos, audio or images. Omitted = all three.

    videoaudioimage
  • collection_idstring

    Collection to show. Omitted = every collection in the account.

Parámetros de salida

Sin parámetros.

Query indexVIDEODB_MCP_QUERY_INDEXAcción

Structured filter/sort over one index built by create_index (use_for includes 'query') in a video or across a collection. Provide exactly one of index_id or index_name. Returns matching moments without semantic ranking.

Parámetros de entrada

  • sortany

    Sort order, e.g. [["start", "asc"]].

  • limitany

    Max records (default 100).

  • filterany

    Structured filter over index fields, e.g. [{"field": "label", "op": "==", "value": "phone"}] or {"activity": "walking"}.

  • index_idany

    Index ID from list_indexes. Provide exactly one of index_id or index_name.

  • video_idany

    VideoDB video ID (starts with m-). Omit to run against the whole collection.

  • index_nameany

    Index name from list_indexes. Provide exactly one of index_name or index_id.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

  • return_fieldsany

    Index fields to hydrate into each moment's metadata; "all" for everything.

Parámetros de salida

Sin parámetros.

Reframe videoVIDEODB_MCP_REFRAME_VIDEOAcción

Re-crop a video (or a segment of it) to a new aspect ratio — vertical, square, landscape or custom dimensions — and save it as a new video in the same collection. Smart mode tracks subjects; simple mode centre-crops. 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 new video record; {accepted: true} when callback_url is given.

Parámetros de entrada

  • endany

    Segment end in seconds.

  • modeany

    simple = centre crop; smart = subject-aware crop.

  • startany

    Segment start in seconds; omit for the whole video.

  • targetany

    Output frame: a preset (vertical 9:16, square 1:1, landscape 16:9) or explicit {width, height}.

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • callback_urlany

    Optional webhook URL VideoDB calls when the job finishes (makes the call return immediately).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Remove video storageVIDEODB_MCP_REMOVE_VIDEO_STORAGEAcción

Delete the stored media bytes of a video while keeping its record, indexes and transcripts. Streaming the original afterwards is no longer possible. This cannot be undone.

Parámetros de entrada

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Render timelineVIDEODB_MCP_RENDER_TIMELINEAcción

Render a multi-track editor timeline into a new stream in one call. Tracks stack by z_index; each clip places an asset at a start time for a duration with optional transitions, effects, filters, scale, opacity, fit and position. Asset kinds: video, image, audio (ids must be existing VideoDB media ids from this account), text (styled overlay text) and caption. Two behaviours to plan for: caption src 'auto' needs an existing spoken-word index on the video, otherwise the render succeeds with zero captions and no error; and a text asset's width/height are only honoured under fit 'contain', because the default fit 'crop' scales that box up to fill the frame. 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. Use download_timeline_render for an MP4.

Parámetros de entrada

  • tracksobject[]Obligatorio

    Tracks in the timeline; the whole edit is described here.

  • backgroundany

    Canvas background colour, hex. Default #000000.

  • resolutionany

    Output resolution as WIDTHxHEIGHT, e.g. 1920x1080 or 1080x1920. Default 1280x720.

Parámetros de salida

Sin parámetros.

Search collectionVIDEODB_MCP_SEARCH_COLLECTIONAcción

Search every indexed video in a collection and get matching moments grouped by video, with timestamps and scores. Uses Search V2 over indexes built by create_index. For existing legacy spoken-word/scene indexes, use the legacy_search_* tools instead.

Parámetros de entrada

  • modeany

    default = single-step planned retrieval; deepsearch = multi-step investigation with follow-up sessions.

  • querystringObligatorio

    Natural-language search query.

  • top_kany

    Maximum moments to return.

  • session_idany

    Continue a deepsearch session (session_id from a previous response). Only valid with mode=deepsearch.

  • include_clipany

    Also return a playable clip for each moment.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Search rtstreamVIDEODB_MCP_SEARCH_RTSTREAMAcción

Semantic search over the indexed records of a real-time stream (requires a scene index or index). Returns matching windows with Unix-second start/end, text and score; use get_rtstream_stream with those timestamps to watch one.

Parámetros de entrada

  • querystringObligatorio

    Natural-language query, e.g. 'a person entering through the gate'.

  • index_typeany

    Restrict to an index type, e.g. scene.

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

  • scene_index_idany

    Restrict to one scene index.

  • score_thresholdany

    Minimum relevance score.

  • result_thresholdany

    Max results.

Parámetros de salida

Sin parámetros.

Search videoVIDEODB_MCP_SEARCH_VIDEOAcción

Search within one video and get matching moments with start/end timestamps, text, and relevance scores. Uses Search V2 over indexes built by create_index. For existing legacy spoken-word/scene indexes, use the legacy_search_* tools instead.

Parámetros de entrada

  • modeany

    default = single-step planned retrieval; deepsearch = multi-step investigation with follow-up sessions.

  • querystringObligatorio

    What to look for, e.g. 'moments where pricing is discussed'.

  • top_kany

    Maximum moments to return.

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • session_idany

    Continue a deepsearch session (session_id from a previous response). Only valid with mode=deepsearch.

  • include_clipany

    Also return a playable clip for each moment.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Search videos by titleVIDEODB_MCP_SEARCH_VIDEOS_BY_TITLEAcción

Find videos in a collection whose title matches a natural-language query. Returns the matching videos with stream/player URLs.

Parámetros de entrada

  • querystringObligatorio

    Title or phrase to look for.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Semantic searchVIDEODB_MCP_SEMANTIC_SEARCHAcción

Vector search over one or more indexes built by create_index (use_for includes 'semantic') in a video or across a collection. Returns matching moments with scores.

Parámetros de entrada

  • querystringObligatorio

    Natural-language query.

  • top_kany

    Max moments to return (default 10).

  • filterany

    Structured filter over index fields, e.g. [{"field": "label", "op": "==", "value": "phone"}] or {"activity": "walking"}.

  • video_idany

    VideoDB video ID (starts with m-). Omit to run against the whole collection.

  • index_idsany

    Restrict to these index IDs.

  • index_namesany

    Restrict to these index names.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

  • return_fieldsany

    Index fields to hydrate into each moment's metadata; "all" for everything.

  • score_thresholdany

    Minimum similarity score.

Parámetros de salida

Sin parámetros.

Set rtstream alert statusVIDEODB_MCP_SET_RTSTREAM_ALERT_STATUSAcción

Enable or disable an alert on a stream index without deleting it.

Parámetros de entrada

  • actionstringObligatorioenum
    enabledisable
  • alert_idstringObligatorio

    Alert ID from create_rtstream_alert or list_rtstream_alerts.

  • index_idstringObligatorio

    Scene index ID or index ID the alert belongs to.

  • index_kindany

    scene_index = created by index_rtstream_scenes/index_rtstream_audio; index = created by create_rtstream_index.

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

Parámetros de salida

Sin parámetros.

Set rtstream index statusVIDEODB_MCP_SET_RTSTREAM_INDEX_STATUSAcción

Resume or pause an understanding-backed index on a real-time stream. Existing records stay searchable while paused.

Parámetros de entrada

  • actionstringObligatorioenum

    start = begin/resume processing, stop = pause it.

    startstop
  • index_idstringObligatorio

    Index ID (idx-…).

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

Parámetros de salida

Sin parámetros.

Set rtstream scene index statusVIDEODB_MCP_SET_RTSTREAM_SCENE_INDEX_STATUSAcción

Resume or pause a scene index on a real-time stream. Existing records stay readable while paused.

Parámetros de entrada

  • actionstringObligatorioenum

    start = begin/resume processing, stop = pause it.

    startstop
  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

  • scene_index_idstringObligatorio

    Scene index ID (rtstream_index_id from list_rtstream_scene_indexes).

Parámetros de salida

Sin parámetros.

Set rtstream statusVIDEODB_MCP_SET_RTSTREAM_STATUSAcción

Start (connect) or stop (disconnect) ingestion of a real-time stream. Indexes and transcripts only receive data while the stream is started.

Parámetros de entrada

  • actionstringObligatorioenum

    start = begin/resume processing, stop = pause it.

    startstop
  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

Parámetros de salida

Sin parámetros.

Set rtstream transcript statusVIDEODB_MCP_SET_RTSTREAM_TRANSCRIPT_STATUSAcción

Start or stop real-time transcription on a stream. The stream must be started and capturing audio. Returns the transcription status with start/end times.

Parámetros de entrada

  • modeany

    Stop mode (ignored on start): graceful finishes in-flight audio, force stops immediately.

  • actionstringObligatorioenum

    start = begin/resume processing, stop = pause it.

    startstop
  • engineany

    Transcription engine; server default assemblyai.

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

Parámetros de salida

Sin parámetros.

Set rtstream understanding statusVIDEODB_MCP_SET_RTSTREAM_UNDERSTANDING_STATUSAcción

Resume or pause a continuous understanding job on a real-time stream. Existing records stay readable while paused.

Parámetros de entrada

  • actionstringObligatorioenum

    start = begin/resume processing, stop = pause it.

    startstop
  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

  • understanding_idstringObligatorio

    Understanding ID (und-…).

Parámetros de salida

Sin parámetros.

Show assetsVIDEODB_MCP_SHOW_ASSETSAcción

Show the user's videos, audio files and images as a browsable gallery in the chat, or open one of them. Use it whenever the user wants to see, browse or pick from what is in a collection or account, or to view one audio file or image. The user can filter by type, page through and open any item there (videos play, audio plays, images open full size), so don't list the assets yourself. Pass ids to show specific assets; one ID opens it directly. For one video or moments in a video, use show_video instead.

Parámetros de entrada

  • idsstring[]

    Show these assets instead of a listing (m-…, a-… or img-… IDs). One ID opens it directly.

  • titlestring

    Heading, e.g. the collection's name.

  • asset_typestringenum

    Show only videos, audio or images. Omitted = all three.

    videoaudioimage
  • collection_idstring

    Collection to show. Omitted = every collection in the account.

Parámetros de salida

Sin parámetros.

Show indexVIDEODB_MCP_SHOW_INDEXAcción

Show an index of a video on its timeline in the chat, with a table of its records: a v2 index (index_id), a legacy scene index (scene_index_id) or the transcript (transcript: true). Use it whenever the user wants to see or browse what an index or transcript holds. The view pages the records itself, so don't fetch them with get_index_records first.

Parámetros de entrada

  • index_idstring

    A v2 index (from create_index / list_indexes).

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • transcriptboolean

    Show the video's transcript instead of an index.

  • collection_idstring

    Collection of video_id.

  • scene_index_idstring

    A legacy scene index (from list_scene_indexes).

Parámetros de salida

Sin parámetros.

Show understandingVIDEODB_MCP_SHOW_UNDERSTANDINGAcción

Show an understanding run on the video's timeline in the chat: each analyzer's status while the run works, then one lane per analyzer with its segments, the data at the playing time and object boxes on the video. Use it after understand_video, or whenever the user wants to see or review what the analyzers found. The view loads the output itself, so don't fetch it with get_analyzer_output first.

Parámetros de entrada

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idstring

    Collection of video_id.

  • understanding_idstringObligatorio

    Understanding run ID (from understand_video / list_understandings).

Parámetros de salida

Sin parámetros.

Show videoVIDEODB_MCP_SHOW_VIDEOAcción

Play one or more VideoDB videos for the user in an inline player, instead of only pasting links. Use it whenever the user wants to watch, preview or review something: a video, a generated clip, a render, or search results. Pass each video as an item by video_id (or stream_url); several items become a playlist (e.g. one per search hit, titled with what the moment shows). start/end play just that range. For a highlight reel, supercut or 'best moments' video, use layout 'reel' with the clips in order: it plays them back to back at once and the user can download the reel as an MP4 from the player, so don't call compile_clips or download_stream yourself for it. For search results inside one video, pass that video once with the hits as moments: they are marked on the timeline and listed under the player.

Parámetros de entrada

  • itemsobject[]Obligatorio
  • titlestring

    Reel title, e.g. '60-second highlights'. Also names the MP4.

  • layoutstringenum

    player: one video, or a playlist of moments. reel: clips cut from videos and played back to back as one highlight reel the user can download as an MP4; every item needs video_id, start and end.

    playerreel

Parámetros de salida

Sin parámetros.

Stop sandboxVIDEODB_MCP_STOP_SANDBOXAcción

Stop a sandbox and end its billing. This is permanent — a stopped sandbox cannot be restarted, and any job still routed to it fails; create a new sandbox to run more work. Returns while the status is still "stopping"; poll get_sandbox for "stopped". Leave grace true to let running jobs finish first.

Parámetros de entrada

  • graceany

    Wait for in-flight jobs to finish before teardown. false kills them immediately.

  • sandbox_idstringObligatorio

    Sandbox ID, from create_sandbox or list_sandboxes.

Parámetros de salida

Sin parámetros.

Submit feedbackVIDEODB_MCP_SUBMIT_FEEDBACKAcción

Send product feedback about this VideoDB connector to the VideoDB team. Call it when no tool can do what the user asked, when a tool returned something wrong or unexpected, when a tool's inputs or behaviour were confusing, or when the user is unhappy with VideoDB. Give the full story: what the user was trying to do and why (their use case), what they expected, and what actually happened. Fill these from the conversation; if the user's goal is unclear, ask them one short question first. Describe the task, not the user's content: leave out transcripts, personal details and file contents. One call per distinct issue; it does not fix anything, so carry on helping the user afterwards.

Parámetros de entrada

  • goalstringObligatorio

    What the user was trying to do in this conversation, e.g. 'cut every goal from a match into one highlight reel'.

  • summarystringObligatorio

    One line on what went wrong or what is missing.

  • categorystringObligatorioenum

    missing_capability: no tool can do it. wrong_result: a tool succeeded but the output was wrong. error: a tool failed. confusing_tool: unclear inputs or behaviour. other: anything else.

    missing_capabilitywrong_resulterrorconfusing_toolother
  • expectedstringObligatorio

    What the user or you expected VideoDB to do.

  • use_caseany

    The bigger picture, if known: what they are building or why, e.g. 'sports clips app for a youth league'.

  • related_toolany

    The tool involved, if any, e.g. search_video.

  • what_happenedstringObligatorio

    What actually happened: the calls made, what they returned or the error, and where it fell short.

Parámetros de salida

Sin parámetros.

Transcode mediaVIDEODB_MCP_TRANSCODE_MEDIAAcción

Start a transcode job from a directly downloadable media URL (e.g. MP4): change resolution, quality, framerate or aspect ratio, or mute audio. For YouTube watch URLs, ingest with upload_media first, then get_video → download_stream to obtain an MP4 source. VideoDB calls callback_url when done; poll with get_transcode_status.

Parámetros de entrada

  • modeany

    economy = cheaper/slower, lightning = faster.

  • muteany

    Strip the audio track.

  • sourcestringObligatoriouri

    Direct media URL; YouTube watch pages are not supported by the transcoder.

  • qualityany

    Encoder CRF quality, 1–51; lower = better (default 23).

  • framerateany

    Output frames per second, 1–60.

  • resolutionany

    Output height in pixels, 240–1080.

  • resize_modeany

    How to reach aspect_ratio: crop edges, fit (letterbox) or pad with bars.

  • aspect_ratioany

    Output aspect ratio, e.g. "16:9", "9:16", "1:1".

  • callback_urlstringObligatoriouri

    Webhook URL VideoDB calls when the job finishes (required).

Parámetros de salida

Sin parámetros.

Translate transcriptVIDEODB_MCP_TRANSLATE_TRANSCRIPTAcción

Translate a video's transcript into another language (requires a transcript — get_transcript or generate_transcript first). Video only; the translation is returned, not stored. 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 translated_transcript.

Parámetros de entrada

  • languagestringObligatorio

    Target language, e.g. 'Spanish' or 'fr'.

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • callback_urlany

    Optional webhook URL VideoDB calls when the job finishes (makes the call return immediately).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

  • additional_notesany

    Style guidance for the translation, e.g. 'formal register'.

Parámetros de salida

Sin parámetros.

Understand rtstreamVIDEODB_MCP_UNDERSTAND_RTSTREAMAcción

Start a continuous vision-model (vlm) analysis on a real-time stream: every window_seconds, frame_count frames are analysed with the prompt and the output is stored under output_name. Returns the understanding with its outputs; pass its ID to create_rtstream_index to make the output searchable.

Parámetros de entrada

  • storeany

    Persist output so it can be indexed. Must be true to index.

  • promptstringObligatorio

    What to describe or monitor in each window.

  • frame_countany

    Frames sampled per window.

  • output_nameany

    Name of the analyzer output (used as index source).

  • rtstream_idstringObligatorio

    VideoDB real-time stream ID (starts with rts-).

  • user_contextany

    Optional, never required: background from the conversation that helps VideoDB prepare and index this media for the user's goal. Pass whatever is already known and leave out what isn't; don't ask the user for it or hold the call back to collect it. Useful details: what the media is (type of content, subject, people or brands, language, length or source, e.g. 'a 40-min recorded Zoom sales demo of our CRM, English'); the user's use case and who it's for (role, product, project); what they want from this upload or run and what they'll do with it (e.g. 'find every objection the prospect raises and cut a 2-min highlight for the sales team'); any constraints they stated (languages, accuracy, deadline, format). Use the user's own words; don't invent details.

  • window_secondsany

    Length of each analysis window in seconds.

Parámetros de salida

Sin parámetros.

Understand videoVIDEODB_MCP_UNDERSTAND_VIDEOAcción

Run analyzers over a video to extract timestamped artifacts: speech, scene descriptions, on-screen text, objects, brands, activities, locations. Artifacts are stored but NOT searchable until create_index runs on them. v2 pipeline: understand_video (extract) → create_index (make retrievable) → semantic_search / query_index / aggregate_index / ask_video. Returns the run and each analyzer's status (pending, running, done, failed). Poll get_understanding, then read an artifact with get_analyzer_output. With callback_url the call returns immediately. ## Shape Run-level options apply to the whole run; analyzer options apply to one entry in `analyzers`. ```json { "segmentation": {"type": "shot", "threshold": 30}, "transform": {"resolution": "480p"}, "analyzers": [ {"type": "spoken_words", "name": "transcript", "config": {"language": "en"}}, {"type": "vlm", "name": "scene", "inputs": ["transcript"], "sampling": {"strategy": "uniform", "frame_count": 4}, "config": {"model": "pro", "prompt": "Describe this scene. Spoken words: {{inputs.transcript}}"}} ] } ``` ## Analyzer types | type | default name | produces | | --- | --- | --- | | spoken_words | transcript | timed speech text plus word timestamps | | vlm | scene | your own prompt or JSON schema over sampled frames | | ocr | text | text visible on screen | | object_detection | objects | labels, scores, normalized xyxy boxes | | brand_detection | brands | brand_names plus mentions | | activity_recognition | activity | the action in each scene | | location_detection | location | the setting of each scene | Set `name` to run two analyzers of the same type, or to reference one from `inputs`. ## config keys, by type | type | keys | | --- | --- | | spoken_words | language ("en", "hi", ...), speaker_labels | | vlm | model, prompt, schema, sandbox_id | | object_detection | sandbox_id (required), labels, confidence_threshold, include_bounding_boxes | | ocr, brand_detection, activity_recognition, location_detection | model | `model` is a hosted tier — mini, basic, pro, ultra — or a provider id such as "google/gemini-2.5-flash". Hosted tiers need no sandbox_id. object_detection runs on Open Compute only: create_sandbox (small tier) -> get_sandbox until status is "active" -> pass its id as config.sandbox_id. Stop it with stop_sandbox afterwards; a sandbox bills for as long as it runs. An open-weight VLM (e.g. "google/gemma-4-31B-it-FP8") needs one too. Its labels come from the COCO 80-label vocabulary ("person", "laptop", "cell phone", ...). A vlm config.schema returns JSON instead of prose: `{"activity": "string", "visible_objects": ["string"], "confidence": {"type": "number", "min": 0, "max": 1}}`. ## inputs A list of earlier analyzer names whose artifacts this analyzer may read. Reference one in the prompt as `{{inputs.transcript}}`; if you list inputs without a placeholder, VideoDB appends the context after the prompt. ## segmentation, sampling, transform segmentation sets the time ranges every visual analyzer attaches output to; it is shared by the whole run. Default `{"type":"shot","threshold":30}`. Use shot for edited video (higher threshold means fewer splits, min_scene_len sets a floor) and `{"type":"time","seconds":N}` for streams, surveillance and long unedited footage. sampling picks frames inside each scene. Pass it per analyzer or once at run level. uniform with frame_count 4-8 suits scene description, frame_count 1 gives one representative frame; interval with every N seconds catches text or motion that appears briefly. spoken_words ignores sampling. transform `{"resolution":"480p"}` lowers cost and latency; keep the source resolution when small text or fine detail matters.

Parámetros de entrada

  • samplingany

    Default frame selection for every visual analyzer; an analyzer's own sampling wins.

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • analyzersobject[]Obligatorio

    Analyzers to run, e.g. [{"type":"spoken_words"}, {"type":"vlm","config":{"prompt":"Describe the scene"}}]. See the tool description for the config keys each type accepts.

  • transformany

    Preprocessing for the whole run, e.g. {"resolution":"480p"} to cut cost and latency.

  • callback_urlany

    Optional webhook URL VideoDB calls when the job finishes (makes the call return immediately).

  • segmentationany

    One object, not an array: {"type":"shot","threshold":30} (default) or {"type":"time","seconds":5}. Shared by every visual analyzer in the run.

  • user_contextany

    Optional, never required: background from the conversation that helps VideoDB prepare and index this media for the user's goal. Pass whatever is already known and leave out what isn't; don't ask the user for it or hold the call back to collect it. Useful details: what the media is (type of content, subject, people or brands, language, length or source, e.g. 'a 40-min recorded Zoom sales demo of our CRM, English'); the user's use case and who it's for (role, product, project); what they want from this upload or run and what they'll do with it (e.g. 'find every objection the prospect raises and cut a 2-min highlight for the sales team'); any constraints they stated (languages, accuracy, deadline, format). Use the user's own words; don't invent details.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Update collectionVIDEODB_MCP_UPDATE_COLLECTIONAcción

Rename a collection, change its description, or switch it between public and private. Only the fields given are changed; at least one is required.

Parámetros de entrada

  • nameany

    New collection name.

  • is_publicany

    true = publicly viewable, false = private.

  • descriptionany

    New description.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Update videoVIDEODB_MCP_UPDATE_VIDEOAcción

Update a video's display name.

Parámetros de entrada

  • namestringObligatorio

    New display name.

  • video_idstringObligatorio

    VideoDB video ID (starts with m-).

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.

Upload mediaVIDEODB_MCP_UPLOAD_MEDIAAcción

Start uploading a video, audio file, or image into VideoDB from a public URL (direct file links and YouTube URLs both work). Set media_type to 'audio' or 'image' when the URL is not a video — it is uploaded as a video otherwise. 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 created media record with its ID and player URL. Do not call upload_media again while the job is processing. With callback_url VideoDB calls your webhook instead.

Parámetros de entrada

  • urlstringObligatoriouri

    Public URL of the media (or a YouTube link).

  • nameany

    Optional display name.

  • media_typeany

    Media type to store the URL as. Defaults to video — set 'audio' or 'image' explicitly for an audio file or an image, or it is processed as a video.

  • descriptionany

    Optional description stored with the media.

  • callback_urlany

    Optional webhook URL VideoDB calls when the job finishes (makes the call return immediately).

  • user_contextany

    Optional, never required: background from the conversation that helps VideoDB prepare and index this media for the user's goal. Pass whatever is already known and leave out what isn't; don't ask the user for it or hold the call back to collect it. Useful details: what the media is (type of content, subject, people or brands, language, length or source, e.g. 'a 40-min recorded Zoom sales demo of our CRM, English'); the user's use case and who it's for (role, product, project); what they want from this upload or run and what they'll do with it (e.g. 'find every objection the prospect raises and cut a 2-min highlight for the sales team'); any constraints they stated (languages, accuracy, deadline, format). Use the user's own words; don't invent details.

  • collection_idany

    VideoDB collection ID. Defaults to "default" (every account has one).

Parámetros de salida

Sin parámetros.