get_video_subtitles
Fetch Bilibili episode subtitles (CC/AI) and return language, timestamped segments, and full text. Errors if no subtitle track exists, prompting audio transcription as fallback.
Instructions
取单集字幕正文(B 站已有 CC/AI 字幕时)。返回语言、分段(含时间戳)与全文。 没有字幕轨时报错——此时用 download_audio + asr_transcribe 现场转写。
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_or_bvid": "<url_or_bvid>"
},
"name": "get_video_subtitles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p | No | ||
| lang | No | zh-CN | |
| url_or_bvid | Yes |