search_subtitles
Search YouTube subtitles to locate where a phrase is spoken, returning matching passages with timestamps and deep links. Save time by skipping full transcript reading and jump straight to relevant moments.
Instructions
Find where a phrase is said in a video.
Cheaper than reading the whole transcript: returns matching passages
with timestamps and deep links. Follow up with `get_subtitles` and a
time range to read a hit in full.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Preferred language codes, comma-separated. | en |
| query | Yes | Text to find; case-insensitive substring match. | |
| video | Yes | YouTube URL or 11-character video ID | |
| context | No | Segments of surrounding context per hit. | |
| max_hits | No | Maximum matches to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |