Technical reference
Tool reference
Public MCP tools grouped by task. Your connected agent provides the current schemas and availability.
Account & discovery
get_account checks your balance, plan, and available access. get_capabilities lists supported analysis models. list_projects, list_videos, and get_videos discover your recordings. Page through large results instead of assuming the first page is complete.
Import
huggingface_search finds repositories. create_project creates the destination. huggingface_import accepts repository IDs, a project ID, and an optional episode limit. ingest_status reports progress. Use import_video_url for a direct HTTPS video link.
huggingface_import(
repo_ids=["owner/dataset"],
project_id="PROJECT_ID",
limit=3
)Connect storage
list_storage_connections discovers saved bucket connections. create_storage_connection checks access and returns setup when needed; verify_storage_connection checks the completed grant. import_from_bucket imports an s3:// or gs:// dataset path into a project. drive_service_account, list_shared_drive_folders, and import_drive_folder provide the Drive sharing and planning flow; confirm_import starts an approved Drive plan.
Analyze & annotate
segment_subtasks saves a labeled action timeline. infer_grounding_dino detects objects. infer_sam_video tracks seeded masks over time; infer_sam segments independent frames. jev evaluates typed questions on frames.
Train and compare vision models
Training requires enabled access, checked with get_account. Read get_training_guidance and inspect_training_dataset, then save a hypothesis, configuration, and protocol with plan_training_experiment. run_training starts the saved run within max_compute_usd. get_training_run reports progress; read_training_artifact reads evaluation evidence. compare_training_runs compares measured validation results and identifies incompatible controls.
Deploy a verified pipeline
deploy_pipeline creates an API deployment from a pipeline version with a current verified sample. create_pipeline_run defines new inputs, start_pipeline_run begins processing, and get_pipeline_run reports progress. download_pipeline_run returns the completed Dataset export. This pipeline API does not itself turn every trained checkpoint into a hosted inference endpoint.
Wait for results
Analysis jobs run asynchronously. Keep the returned job ID and poll get_job at intervals of at least five seconds. Use kind="annotation" for segmentation, Jev, and recipe jobs. After completion, read get_annotations and inspect relevant frames with view_frames. A completed job can still need a quality review.
Batch & reuse
For custom recipes, read get_annotation_sdk before authoring annotate(clip, ctx). Use one estimate_annotation and run_annotation job for clips sharing a recipe, up to 1,000 selected clips per estimate. Saved pipelines use save_pipeline or apply_pipeline, then a verified binding can use estimate_pipeline_batch. Retry failed items only.
Query & export
run_query queries existing annotations and recorded per-frame data without running a model. Dataset export uses estimate_dataset_build, then build_dataset, get_dataset, and download_dataset. Review the build estimate before starting. Tool availability and usage depend on your account.
Tags & filtered links
update_video_tags adds or removes tags on the selected clip IDs while preserving other tags. get_project_link returns a dashboard URL with tag filters already selected. Tags match any selected label; use an explicit intersection when a selection needs all conditions.
Code & video processing
get_annotation_sdk provides the current Python API. Run a recipe through estimate_annotation and run_annotation; use get_job to wait for completion. Recipes can compute tracks, create excerpts with ctx.trim, render processed video views with ctx.render_video, and save reports or files with ctx.save_file.
