Extract a YouTube transcript
extract_youtube_scriptExtract a YouTube video's transcript by trying caption APIs, yt-dlp, and local speech-to-text. Reports the successful method, explains failures, and caches results.
Instructions
Get the transcript for one YouTube video, trying caption APIs, yt-dlp, and local speech-to-text in turn. Reports which method worked and why the others did not. Cached, so asking twice is free.
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": {
"url": "<url>"
},
"name": "extract_youtube_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| use_cache | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||