speech_to_text
Speech To Text. Spends ElevenLabs credits.
This record as markdown: /tools/aiwerk-mcp-server-elevenlabs/speech-to-text.md
What speech_to_text does on Elevenlabs
AI agents call speech_to_text to retrieve information from Elevenlabs without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
seed | number | null | — | If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the sa |
token | string | null | — | A single-use authentication token created via POST /v1/single-use-token/batch_scribe. This token can only be used once and expires after 15 minutes. Alternative |
diarize | boolean | — | Whether to annotate which speaker is currently talking in the uploaded file. |
webhook | boolean | — | Whether to send the transcription result to configured speech-to-text webhooks. If set the request will return early without the transcription, which will be de |
keyterms | array | — | A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms |
model_id | string | Yes | The ID of the model to use for transcription. |
file_path | string | — | The file to transcribe (100ms minimum audio length). All major audio and video formats are supported. Exactly one of the file or cloud_storage_url parameters mu |
source_url | string | null | — | The URL of an audio or video file to transcribe. Supports hosted video or audio files, YouTube video URLs, TikTok video URLs, and other video hosting services. |
webhook_id | string | null | — | Optional specific webhook ID to send the transcription result to. Only valid when webhook is set to true. If not provided, transcription will be sent to all con |
file_base64 | string | — | Base64 contents for "file". Use this when the server cannot read your local disk. |
file_format | string | — | The format of input audio. Options are 'pcm_s16le_16' or 'other' For `pcm_s16le_16`, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel ( |
no_verbatim | boolean | — | If true, the transcription will not have any filler words, false starts and non-speech sounds. Only supported with scribe_v2 model. |
Parameters from the server's own tool schema.
Why speech_to_text is rated Low
Even though speech_to_text only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.
Risk signalsAccepts file system path (file_path) · Accepts URL/endpoint input (webhook) · Handles credentials or secrets (token) · High parameter count (30 properties)
Attacks that exploit this kind of access
The rule that runs speech_to_text safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Elevenlabs, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For speech_to_text, this is the rule to start with:
speech_to_text is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Elevenlabs, apply this rule, and every speech_to_text call is checked against it from then on.
Questions about speech_to_text
Speech To Text. Spends ElevenLabs credits. It is categorised as a Read tool in the Elevenlabs MCP Server, which means it retrieves data without modifying state.
speech_to_text accepts 12 parameters: seed, token, diarize, webhook, keyterms, model_id, file_path, source_url, webhook_id, file_base64, file_format, no_verbatim. Required: model_id. The full parameter table on this page comes from the server's own tool schema.
Register the Elevenlabs MCP server in PolicyLayer and add a rule for speech_to_text: 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 Elevenlabs. Nothing to install.
speech_to_text is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the speech_to_text 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 speech_to_text. 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.
speech_to_text is provided by the Elevenlabs MCP server (@aiwerk/mcp-server-elevenlabs). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Elevenlabs, and thousands of servers like it.
This server
Across the catalogue