Artificial Intelligence

VideoDB MCP

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

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Get scene index

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

  • Get search status

    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.

  • Get transcode status

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

  • Get transcript

    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.

  • Get understanding

    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.

  • Get video

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

  • Legacy search collection

    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.

  • Legacy search video

    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.

  • List assets

    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.

  • List audios

    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.

  • List collections

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

  • List datasets

    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.

  • List events

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

  • List images

    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.

  • List indexes

    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.

  • List invoices

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

  • List result shots

    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.

  • List rtstream alerts

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

  • List rtstream indexes

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

  • List rtstreams

    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.

PreviousPage 2 / 3Next