Read Video Transcript
read_video_transcriptFetch timestamped captions and track metadata from public YouTube, Bilibili, Facebook, Douyin, Xiaohongshu, or X videos to summarize, translate, or read paginated transcripts.
Instructions
Fetch timestamped subtitles/captions and track metadata for a public YouTube, Bilibili, Facebook, Douyin, Xiaohongshu, or X (Twitter) video via Vidleaf (https://vidleaf.app). Use when summarizing, translating, or reading full/paginated video transcripts. To locate specific quotes without loading the full track, use search_video_transcript instead; to generate a reader handoff link offline without network calls, use build_vidleaf_open_link instead. Never triggers paid audio transcription automatically: captionless videos return status='asr_confirmation_required' with an open_url where the user can confirm speech-to-text.
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": "read_video_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public video URL, Bilibili BV/av ID, or full mobile share text (YouTube, Bilibili, Facebook/Reels, Douyin, Xiaohongshu/RedNote, or X/Twitter). | |
| langs | No | Up to 3 preferred BCP-47 language prefixes ordered by priority (e.g. ['zh', 'en']). | |
| limit | No | Maximum number of subtitle cues to return in this page (1–500). | |
| format | No | Formatting style for `formatted_transcript`. | timestamped |
| locale | No | Optional Vidleaf UI locale for the returned `open_url` handoff link. | |
| offset | No | Zero-based cue index to start reading from when paginating long videos. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cues | Yes | Timestamped subtitle segments. | |
| lang | No | Selected subtitle track language code. | |
| title | No | Source video title. | |
| offset | No | Starting cue index of this page. | |
| status | Yes | Outcome of caption retrieval. | |
| message | No | Guidance message when ASR confirmation is required or an error occurred. | |
| has_more | Yes | Whether additional cues remain after this page. | |
| open_url | Yes | Direct Vidleaf deep-reading URL (`https://vidleaf.app/open?url=...`). | |
| platform | No | Detected video platform. | |
| video_key | Yes | Canonical Vidleaf video identifier. | |
| source_url | No | Normalized original video URL. | |
| total_cues | Yes | Total subtitle cues in the selected track. | |
| next_offset | No | Next `offset` value if `has_more` is true, else null. | |
| track_source | No | Track origin (official, auto, or cached ASR). | |
| returned_cues | Yes | Number of cues returned in this response. | |
| available_tracks | No | All available subtitle tracks on this video. | |
| duration_seconds | No | Video duration in seconds when known. | |
| summary_open_url | Yes | Direct Vidleaf AI chapter-summary URL (`&goal=summary`). | |
| formatted_transcript | Yes | Ready-to-read transcript formatted per `format`. |