Convert caption formats
convert_captionsConvert captions between SRT, WebVTT, ASS, JSON, and plain-text transcripts, with styled ASS output and presets for burn-in.
Instructions
Convert between SRT, WebVTT, ASS (styled, for burning in), JSON and plain-text transcript. ASS output can be styled with presets (vertical_reel, horizontal, lower_third) or custom font, size, colors, outline, box and position, and comes with an ffmpeg burn-in command.
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": {
"to": "<to>"
},
"name": "convert_captions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target format. | |
| 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. | |
| ass_style | No | Styling for ASS output (used when burning captions into video). | |
| overwrite | No | Allow replacing an existing file. | |
| output_path | No | Write the result here. Format follows the extension unless `to` is set. Omit to get the text back inline. |