upload_subtitle
Upload and save a subtitle file; optionally localize it (billed).
Input is a local path (stdio) or public HTTPS URL (hosted). Returns
storage paths for list_subtitles, localize_subtitle_file and download.
Use localize_subtitles for the existing in-memory workflow instead.
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": {
"file_path": "<file_path>"
},
"name": "upload_subtitle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional audience, purpose and surrounding context to guide localization. | |
| glossary | No | Optional glossary text to guide terminology for subtitle localization. | |
| file_path | Yes | Input file: local filesystem path in stdio, or an accessible public HTTPS URL on the hosted server. | |
| auto_localize | No | True also requests billed subtitle localization; requires target_languages. | |
| source_language | No | Source language code for subtitle processing, for example "en". | en |
| target_languages | No | Target language codes for subtitle localization, for example ["fr", "ja"]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||