get_transcript_info
Retrieve available transcript languages, entry counts, and video duration for a YouTube video to plan transcript retrieval and handle long videos.
Instructions
Get information about available transcripts for a YouTube video.
Args:
video_url_or_id: YouTube video URL or video ID
Returns:
JSON string with available transcript languages, total entries, and video duration
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_url_or_id": "<video_url_or_id>"
},
"name": "get_transcript_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_url_or_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |