index_video
Index a video to enable search, visual QA, or full analysis via transcription, captions, and embeddings. Supports uploaded videos or local file paths.
Instructions
Index a video for search, QA, or full analysis. Processes the video through a pipeline of AI features. Typically takes 3-7 minutes; longer for long videos or the 'full' pipeline. Times out after 10 minutes by default.
Pipelines:
search_only: transcription + captions + embeddings (enables search_videos)
qa_only: transcription + captions (enables ask_video)
full: transcription + captions + embeddings (enables all tools)
Scene detection is enabled by default and produces scene boundaries for get_scenes. Pass scene_detection=False to skip it.
Prerequisites: if using video_id, the video must be in 'uploaded' status. Use get_video to check status before calling this tool.
Accepts either video_id (for an already-uploaded video) or file_path (a local file to upload and index in one step). Provide exactly one.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "index_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pipeline | No | search_only | |
| video_id | No | ||
| file_path | No | ||
| rationale | No | ||
| scene_detection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |