# Tool reference

Canonical: https://interlatent.com/docs/ivy/tool-reference

Public MCP tools grouped by task. Your connected agent provides the current schemas and availability.

## Account & discovery

Section: https://interlatent.com/docs/ivy/tool-reference#account

`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

Section: https://interlatent.com/docs/ivy/tool-reference#imports

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

### Prompt

```text
huggingface_import(
  repo_ids=["owner/dataset"],
  project_id="PROJECT_ID",
  limit=3
)
```

Note: Tool-call example for your agent; replace the repository and project placeholders. It is not a shell command.

## Connect storage

Section: https://interlatent.com/docs/ivy/tool-reference#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.

- [Source connection reference](https://interlatent.com/docs/ivy/source-reference)

## Analyze & annotate

Section: https://interlatent.com/docs/ivy/tool-reference#analysis

`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

Section: https://interlatent.com/docs/ivy/tool-reference#training

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.

- [Follow the vision model training workflow](https://interlatent.com/docs/ivy/vision-model-training#training-workflow)

## Deploy a verified pipeline

Section: https://interlatent.com/docs/ivy/tool-reference#deployment

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.

- [Understand pipeline and model deployment](https://interlatent.com/docs/ivy/vision-model-training#reusable-workflows)

## Wait for results

Section: https://interlatent.com/docs/ivy/tool-reference#jobs

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

Section: https://interlatent.com/docs/ivy/tool-reference#batch

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

Section: https://interlatent.com/docs/ivy/tool-reference#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

Section: https://interlatent.com/docs/ivy/tool-reference#tags

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

- [Query and tag tool examples](https://interlatent.com/docs/ivy/query-reference)

## Code & video processing

Section: https://interlatent.com/docs/ivy/tool-reference#scripts

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

- [Python recipes and ffmpeg examples](https://interlatent.com/docs/ivy/custom-code)
