youtube_subtitle
Download subtitles and transcripts for YouTube videos, converting SRT to plain text; returns clear feedback if none available.
Instructions
Download subtitles/transcript for a YouTube video. Downloads SRT and converts to plain text. Returns clear message if no subtitles available.
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": "youtube_subtitle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | YouTube video URL. | |
| language | No | Subtitle language codes, comma-separated (default 'en-orig,en'). Examples: 'zh-Hans', 'ja', 'en-orig,en'. | |
| output_path | No | Output directory path (optional, default youtubevideos/). |