convert_subtitles
utilpeek: Convert subtitles between SRT, WebVTT and JSON, with a time shift. To make subtitles from audio use transcribe_audio. Returns a subtitle file converted between SRT, WebVTT and a JSON segment list [{start, end, text}] (seconds, as /v1/audio/transcribe returns it), with an optional time s...
This record as markdown: /tools/dev-tanod-tanod/convert-subtitles.md
What convert_subtitles does on Tanod
AI agents use convert_subtitles to create or update resources in Tanod, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Tanod environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
to | string | Yes | Output format: srt (SubRip), vtt (WebVTT) or json (a list of {start, end, text}, seconds). |
content | object | — | The SRT or WebVTT file as text (at most 1,000,000 characters, 10,000 cues). The format is detected from a WEBVTT header unless from_format is given. Use this or |
segments | object | — | A JSON segment list [{start, end, text}] in seconds, as /v1/audio/transcribe returns it. Use this or content. |
shift_ms | integer | — | Time shift in milliseconds for every cue (negative = earlier; a cue that ends before 0 is dropped). |
from_format | object | — | Optional input format check: content is srt or vtt, segments are json. |
Parameters from the server's own tool schema.
Why convert_subtitles is rated Medium
An AI agent can call convert_subtitles faster than any human can review: one bad instruction and it creates or modifies resources in Tanod by the hundred, each call as confident as the last.
Risk signalsAccepts raw HTML/template content (content)
Attacks that exploit this kind of access
The rule that runs convert_subtitles safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Tanod, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For convert_subtitles, this is the rule to start with:
convert_subtitles stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Tanod, apply this rule, and every convert_subtitles call is checked against it from then on.
Questions about convert_subtitles
utilpeek: Convert subtitles between SRT, WebVTT and JSON, with a time shift. To make subtitles from audio use transcribe_audio. Returns a subtitle file converted between SRT, WebVTT and a JSON segment list [{start, end, text}] (seconds, as /v1/audio/transcribe returns it), with an optional time shift in milliseconds. Strict parsing: the input format is detected, a malformed cue is named in a 422. At most 1,000,000 characters and 10,000 cues. Malformed subtitles (bad timing line, end before start, empty cue, over the limits) are a 422 naming the cue (not charged). A negative shift clamps starts at 0 and drops cues that end before 0. 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. It is categorised as a Write tool in the Tanod MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
convert_subtitles accepts 5 parameters: to, content, segments, shift_ms, from_format. Required: to. The full parameter table on this page comes from the server's own tool schema.
Register the Tanod MCP server in PolicyLayer and add a rule for convert_subtitles: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Tanod. Nothing to install.
convert_subtitles is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the convert_subtitles rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for convert_subtitles. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
convert_subtitles is provided by the Tanod MCP server (https://tanod.dev/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Tanod, and thousands of servers like it.
This server
Across the catalogue