localize_subtitles
Localize subtitles in-memory. Provide an SRT/ITT and/or a video (STT).
Args:
target_language_codes: Comma-separated codes (e.g. "fr,de,ja").
subtitle_path: Optional public HTTPS subtitle URL (hosted) or local path (stdio).
video_path: Optional public HTTPS video URL (hosted) or local path (stdio) for STT.
glossary_path: Optional public HTTPS glossary URL (hosted) or local path (stdio).
source_language_code: Source language code.
context: Optional localization context.
formality: Optional formality override.
output_dir: Local output directory (stdio). Hosted mode always returns subtitle download URLs.
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": {
"target_language_codes": "<target_language_codes>"
},
"name": "localize_subtitles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional localization context. | |
| formality | No | Optional formality override. | |
| output_dir | No | Local output directory (stdio). Hosted mode always returns subtitle download URLs. | |
| video_path | No | Optional public HTTPS video URL (hosted) or local path (stdio) for STT. | |
| glossary_path | No | Optional public HTTPS glossary URL (hosted) or local path (stdio). | |
| subtitle_path | No | Optional public HTTPS subtitle URL (hosted) or local path (stdio). | |
| source_language_code | No | Source language code. | en |
| target_language_codes | Yes | Comma-separated codes (e.g. "fr,de,ja"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |