summarize_chapters
Break a YouTube transcript into time-blocked chunks at natural pauses, then summarize each section individually for easier review.
Instructions
Break a transcript into rough time-blocked chunks at natural pauses, for easier per-section summarizing.
This is a heuristic, not real chapter data: it splits wherever the gap between two consecutive
caption snippets exceeds `gap_seconds`, then merges any resulting chunk shorter than
`min_chunk_seconds` into its neighbor so chunks stay summarizable.
Args:
video_url_or_id: Full YouTube URL or bare 11-char video ID.
gap_seconds: Silence gap (seconds) between captions that triggers a new chunk boundary.
min_chunk_seconds: Minimum chunk duration; shorter chunks get merged forward.
languages: Preferred language codes in priority order. Defaults to ["en"].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| languages | No | ||
| gap_seconds | No | ||
| video_url_or_id | Yes | ||
| min_chunk_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |