Caption file info
caption_infoSummarizes caption files by reporting format, cue count, time span, word count, speaking and reading rates, cue and line stats, formatting tags, parse warnings, and a short preview.
Instructions
Summarize a caption file: detected format, cue count, time span, word count and speaking rate, average/max reading speed (characters per second), shortest/longest cue, longest line, lines per cue, formatting tags, and parse warnings. Shows the first few cues.
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": "caption_info"
}
}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. | |
| content | No | Caption text, if you don't have a file. | |
| preview | No | How many cues to preview. |