embed_subtitles
Embed subtitle files as selectable soft tracks inside video containers (mp4, mkv, mov) without altering the video frames. Supports SRT, VTT, and ASS subtitle formats.
Instructions
Embed a subtitle file as a soft subtitle track inside a video container (the subtitles are selectable but not burned into the video frames). Supports mp4, mkv, and mov output.
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>",
"subtitle_path": "<subtitle_path>"
},
"name": "embed_subtitles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the input video file | |
| output_path | No | Absolute path for the output file. Defaults to same directory with '_subtitled' suffix. | |
| output_format | No | Output container format: mp4, mkv, or mov. Defaults to same format as input. | |
| subtitle_path | Yes | Absolute path to the subtitle file (.srt, .vtt, or .ass) |