Search Video Transcript
search_video_transcriptSearch public video captions for case-insensitive keywords or exact phrases and return timestamped matches with context, so you can verify quotes or jump to topics without reading the full transcript.
Instructions
Search case-insensitive keywords or exact phrases inside a public video's captions via Vidleaf (https://vidleaf.app) and return timestamped matches with surrounding context lines. Use when verifying exact quotes, locating specific topics, or jumping to timestamps in long lectures without loading the entire transcript. For full-transcript reading or summarization, use read_video_transcript instead.
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>",
"keywords": "<keywords>"
},
"name": "search_video_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public video URL, Bilibili BV ID, or mobile share text. | |
| lang | No | Optional subtitle track language code; defaults to primary track. | |
| limit | No | Maximum matches to return (1–100). | |
| locale | No | Optional Vidleaf UI locale for `open_url`. | |
| offset | No | Zero-based hit offset for paginating large result sets. | |
| context | No | Number of neighboring subtitle lines (0–3) to include before and after each match. | |
| keywords | Yes | 1 to 10 keywords or exact phrases (each <= 80 chars) to match against captions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hits | Yes | Timestamped caption matches. | |
| lang | No | Searched subtitle track language. | |
| title | No | Source video title. | |
| status | Yes | Search outcome. | |
| message | No | Diagnostic or ASR confirmation guidance when applicable. | |
| has_more | Yes | Whether additional hits exist past `offset + limit`. | |
| open_url | Yes | Direct Vidleaf deep-reading URL. | |
| video_key | Yes | Canonical Vidleaf video identifier. | |
| total_hits | Yes | Total matching lines across the full track. | |
| matched_keywords | No | Keywords that matched at least once. | |
| missing_keywords | No | Keywords with zero matches. |