convert_subtitle
Convert subtitle text between formats. Reads SRT, WebVTT, ASS/SSA, YouTube SBV and TTML/DFXP; writes SRT, WebVTT, ASS, CSV or plain text. Format is auto-detected unless from is given.
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": {
"content": "<content>",
"to": "<to>"
},
"name": "convert_subtitle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target format. `text` = plain transcript, one line per cue, no timecodes. | |
| from | No | Source format (default "auto" = detect). | |
| dedupe | No | Only for to="text": collapse consecutive identical lines (rolling-caption transcripts repeat lines). Default false. | |
| content | Yes | The full subtitle file text. |