Lint captions for readability
lint_captionsCheck caption files against readability rules and list every issue with cue number and timestamp: long lines, fast reading speed, short or long durations, overlaps, out-of-order cues, flicker gaps and empty cues.
Instructions
Check captions against readability rules and list every problem with its cue number and timestamp: lines too long, too many lines, reading speed too fast (CPS), on screen too briefly or too long, overlaps, out-of-order cues, flicker-prone gaps and empty cues. Presets: standard (42 chars × 2 lines, 17 cps — common streaming practice), reels (24 chars × 1 line), accessible (13 cps). Any rule can be overridden.
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": "lint_captions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Local caption file (.srt, .vtt, .ass/.ssa, .json). ~ is expanded. | |
| format | No | Input format. Detected automatically when omitted. | |
| preset | No | standard | |
| content | No | Caption text, if you don't have a file. | |
| max_cps | No | Max reading speed in characters per second. | |
| max_lines | No | ||
| max_issues | No | ||
| min_gap_ms | No | ||
| max_duration_ms | No | ||
| min_duration_ms | No | ||
| max_chars_per_line | No |