Translate Subtitles
translate_subtitlesTranslate an SRT without breaking its timing: call once for the numbered cues, translate them, then call with translations to write ..srt for chapters' subtitleTracks.
Instructions
Translate an SRT without breaking its timing: call once for the numbered cues, translate them, then call with translations to write ..srt for chapters' subtitleTracks.
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": {
"input": "<input>"
},
"name": "translate_subtitles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The .srt to translate (e.g. from transcribe). | |
| output | No | Default: <input>.<language>.srt. | |
| language | No | With translations: ISO 639-2 code, e.g. "spa". | |
| overwrite | No | Allow replacing an existing output file. | |
| translations | No | One translated string per cue, in order. Omit to get the cues to translate. |