get_transcripts
Extract transcripts from YouTube videos for analysis or processing. Specify language codes and enable paragraph breaks to format text.
Instructions
Extract and process transcripts from a YouTube video.
Parameters:
url(string, required): YouTube video URL or ID.lang(string, optional, default 'en'): Language code for transcripts (e.g. 'en', 'uk', 'ja', 'ru', 'zh').enableParagraphs(boolean, optional, default false): Enable automatic paragraph breaks.
IMPORTANT: If the user does not specify a language code, DO NOT include the lang parameter in the tool call. Do not guess the language or use parts of the user query as the language code.
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": "get_transcripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | YouTube video URL or ID | |
| lang | No | Language code for transcripts, default 'en' (e.g. 'en', 'uk', 'ja', 'ru', 'zh') | en |
| enableParagraphs | No | Enable automatic paragraph breaks, default `false` |