SCREENCAST-MCP / TOOLS / PRODUCE
Translate Subtitles
translate_subtitles
Translate an SRT without breaking its timing: call once for the numbered cues, translate them, then call with translations to write <input>.<language>.srt for chapters' subtitleTracks.
producewritesdestructivesince next release
00:00PARAMETERS
| Name | Type | Description |
|---|---|---|
input required | string | The .srt to translate (e.g. from transcribe). |
language | string | With translations: ISO 639-2 code, e.g. "spa". |
translations | string[] | One translated string per cue, in order. Omit to get the cues to translate. at most 2000 items |
output | string | Default: <input>.<language>.srt. |
overwrite | boolean | Replace an existing output. |
00:05A MINIMAL CALL
translate_subtitles { "input": "recording.mp4" }
The required arguments only, with placeholder values. Everything else takes its default.
00:10WHAT COMES BACK
A text result; this tool declares no structured output.