Get transcript
get_transcriptGet the transcript of a YouTube video.
Args:
video_id: YouTube video ID (11 characters, e.g. 'dQw4w9WgXcQ')
lang: Language code (e.g. 'en', 'it'). Auto-detected if omitted.
format: Output format — 'text' (default), 'json' (segments with timestamps),
'srt', 'vtt' (WebVTT subtitles) or 'chunks' (segments merged into
timestamped chunks of about chunk_size characters, for embeddings).
chunk_size: format 'chunks' only: target characters per chunk (200-4000,
default 1000); segments are never split.
chunk_overlap: format 'chunks' only: characters of whole segments repeated
from the previous chunk (0-1000, default 0).
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_id": "<video_id>"
},
"name": "get_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ||
| format | No | text | |
| video_id | Yes | ||
| chunk_size | No | ||
| chunk_overlap | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |