Check subtitles
check_subtitlesUse this when the user asks whether an SRT or VTT subtitle file has problems, or wants a report before fixing it: overlapping cues, zero or negative durations, cues out of order, SRT numbering gaps, empty cues, cues too fast to read (characters per second above max_cps, default 20) and lines longer than max_line_chars (default 42). Takes one attached .srt or .vtt file or the subtitle text. Does not make a file and does not change the subtitles; fix_subtitles does that. Does not check spelling, translation or sync with the audio.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_subtitles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | The subtitle file: one .srt or .vtt file in UTF-8 or UTF-16 with a byte order mark, e.g. movie.srt. | |
| max_cps | No | Reading speed limit in characters per second, 5 to 60, e.g. 17. Default 20. | |
| subtitle_text | No | Instead of a file: the subtitle text itself, e.g. "1\n00:00:01,000 --> 00:00:03,000\nHello". Use either file or subtitle_text. | |
| max_line_chars | No | Longest line in characters, 20 to 100, e.g. 42 (default). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cues | Yes | ||
| file | Yes | ||
| notes | Yes | ||
| format | Yes | ||
| encoding | Yes | ||
| last_end | Yes | ||
| overlaps | Yes | ||
| problems | Yes | ||
| fast_cues | Yes | ||
| numbering | Yes | ||
| empty_cues | Yes | ||
| long_lines | Yes | ||
| first_start | Yes | ||
| suggestions | Yes | ||
| out_of_order | Yes | ||
| bad_durations | Yes | ||
| three_plus_lines | Yes |