convert_subtitle
Convert subtitle files between SRT, ASS, SSA, and VTT formats, with encoding conversion and adjustable time offset to fix syncing issues.
Instructions
字幕格式转换:SRT/ASS/SSA/VTT,支持编码转换与时间偏移。
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_path": "<input_path>",
"output_format": "<output_format>"
},
"name": "convert_subtitle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | ||
| input_path | Yes | 输入文件绝对路径 | |
| output_path | No | 输出文件路径(可选) | |
| output_format | Yes | 目标格式:srt/ass/vtt |