util_subtitles
Subtitle checker and converter (SRT/VTT) — Validate, fix, retime and convert subtitles. Pass text= (SRT or WebVTT content) or url= (an .srt or .vtt file, e.g. a Whisper transcript). Checks every cue against streaming style limits: overlaps, out-of-order or zero/negative durations, reading speed (max_cps, default 20 chars/sec), line length (max_chars, default 42), more than 2 lines, under 833 ms or over 7 s on screen, gaps under 2 frames, duplicate consecutive cues, broken numbering; verdict CLEAN / MINOR ISSUES / NEEDS FIXES. Options: shift_ms (+/- milliseconds), fps_from + fps_to (frame-rate retime, e.g. 25 to 23.976) or scale, fix=1 (sort, drop empty cues, repair bad durations, trim overlaps), to = json | srt | vtt | text (converted file in output; text = clean transcript without tags or repeats), limit (cues listed in json mode, default 100). Price: $0.003 USDC (Base, via x402).
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": {
"text": "<text>"
},
"name": "util_subtitles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 1 00:00:01,000 --> 00:00:03,500 Hello there! 2 00:00:03,400 --> 00:00:04,000 This line is far too long to read comfortably on one screen 3 00:00:05,000 --> 00:00:07,000 Bye for now. |