convert_subtitles
utilpeek: Convert SRT, WebVTT and JSON subtitles; scale or shift timing. To make subtitles from audio use transcribe_audio. Returns converted subtitles. At most 1,000,000 characters and 10,000 cues. Use srt_speaker_labels for whole-cue VTT names in SRT, or literal_segment_text for plain segments to VTT. Starts clamp at 0; negative shifts drop cues ending at or before 0. Max time 99:59:59.999. Invalid input: uncharged 422. Typically under 0.3 s. Price: USD 0.002. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/subtitle-converter-api.html
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": {
"to": "<to>"
},
"name": "convert_subtitles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Output format. | |
| content | No | SRT, WebVTT, ASS/SSA or SBV text. | |
| segments | No | Segments in seconds. | |
| shift_ms | No | Shift after scale (ms). | |
| time_scale | No | Scale cue and inline times; ties to even. | |
| from_format | No | Input format; auto-detect by default. | |
| srt_speaker_labels | No | Prefix whole-cue names; explicit vtt to srt. | |
| literal_segment_text | No | Escape segments to vtt. | |
| preserve_vtt_cue_ids | No | Keep exact IDs; explicit vtt to vtt. | |
| preserve_vtt_cue_settings | No | Keep placement; explicit vtt to vtt. | |
| preserve_vtt_timestamp_map | No | Keep HLS map; explicit vtt to vtt. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| cues | No | ||
| from | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| output | No | ||
| dropped | No | ||
| duration | No | ||
| segments | No | ||
| shift_ms | No | ||
| operation | No |