Batch Extract YouTube Transcripts
batch_extract_youtube_transcriptsExtract transcripts from up to three YouTube videos per call and optionally save per-video markdown files with an index.json by supplying an output directory.
Instructions
Extract transcripts from multiple YouTube videos. Max 3 URLs per call. Supply output_path (directory) in the request to persist per-video markdown files + index.json and receive a slim response.
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": {
"request": "<request>"
},
"name": "batch_extract_youtube_transcripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | Dict with: urls (max 3), languages, include_timestamps, timezone (IANA name e.g. 'Asia/Tokyo' for converting each video's publish time under metadata.published_at; defaults to 'UTC'). Optional persistence keys: output_path (absolute directory — per-video .md files + index.json; dot-containing dir names are fine), include_content_in_response (bool; default False — when True, per-video transcripts stay in the response as well), overwrite (bool; default False — existing files rejected). Failed items (success=False) are recorded in index.json with file=null but no .md is written. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||