index_channel_transcripts
Pre-index all video transcripts from a YouTube channel to speed up semantic searches. Use this optional tool to prepare channel content for faster first searches.
Instructions
Pre-index all video transcripts from a YouTube channel.
This is an optional tool for pre-warming the semantic search index. You don't need to call this before searching - semantic_search_transcripts automatically indexes missing videos. Use this only if you want to explicitly prepare a channel's content for faster first searches.
Args: channel_id: YouTube channel ID (e.g., "UCuAXFkgsw1L7xaCfnd5JJOw"). max_videos: Maximum number of videos to index (default: 50). language: Preferred transcript language code (default: "en"). force_reindex: If True, re-index videos even if already indexed.
Returns: Dictionary with indexing results: - indexed_count: Number of videos successfully indexed - chunk_count: Total chunks created - skipped_count: Videos skipped (already indexed or no transcript) - error_count: Number of failed videos - errors: List of error messages - video_ids: List of indexed video IDs
Note: - Indexing 50 videos takes ~1-2 minutes - Uses ~1 API quota unit per video (transcripts are free) - Subsequent semantic searches on this channel will be fast
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | en | |
| channel_id | Yes | ||
| max_videos | No | ||
| force_reindex | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||