search_transcript
Find where a word or phrase is spoken in a YouTube video and return timestamped matches to jump to the relevant part of a long transcript.
Instructions
Find where a word or phrase is spoken in a video.
Returns timestamped matches so the model can jump straight to the relevant part of a long video with get_transcript_range.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"video": "<video>",
"query": "<query>"
},
"name": "search_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Case-insensitive text to find inside the transcript. | |
| video | Yes | YouTube URL (watch, youtu.be, /shorts/, /live/, /embed/) or an 11-character video ID. | |
| context | No | Number of neighbouring caption lines to include around each hit (0-3). | |
| language | No | BCP-47 caption language code, e.g. 'en', 'fr', 'es', 'de', 'ja'. Empty = server default ('en'). | |
| max_results | No | Maximum number of matches to return (1-50). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |