视频字幕/转写文本
video_transcriptFetch a Bilibili video's full subtitles and timed segments by BV/av ID or URL, with multilingual support. If captions are missing, returns available languages and suggests video_frames.
Instructions
读取视频字幕全文与时间分段。B 站 AI 字幕通常可用;无字幕时返回可用语言与改用 video_frames 的提示。支持多语言字幕。
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": "<video>"
},
"name": "video_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | 首选字幕语言,例如 ai-zh、zh-CN、ai-en;不传则自动选择中文优先 | |
| page | No | 分P 序号,从 1 开始 | |
| video | Yes | 视频标识:BV 号、av 号或视频链接,例如 BV1xx411c7mD / https://www.bilibili.com/video/BV... |