Search captions
search_captionsFinds where a phrase is spoken in caption files and returns each matching cue with timestamps, plus optional surrounding lines for locating soundbites or quotes.
Instructions
Find where something is said: returns every matching cue with its timestamp, optionally with surrounding lines. Great for finding soundbites or a quote in a long interview, podcast or talk.
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": {
"query": "<query>"
},
"name": "search_captions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Local caption file (.srt, .vtt, .ass/.ssa, .json). ~ is expanded. | |
| query | Yes | ||
| regex | No | Treat query as a regular expression. | |
| format | No | Input format. Detected automatically when omitted. | |
| content | No | Caption text, if you don't have a file. | |
| context | No | Neighboring cues to include on each side. | |
| whole_word | No | ||
| max_results | No |