Generate speech (TTS)
generate_speechConvert text into speech using ElevenLabs, returning an MP3 URL for playback. Specify a model and voice to customize the output; billed per 1,000 characters.
Instructions
Text-to-speech via ElevenLabs. Returns an MP3 URL. Billed per 1,000 characters.
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": "<input>"
},
"name": "generate_speech"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Text to speak | |
| model | No | Audio model slug, default elevenlabs/tts/multilingual-v2 | |
| voice | No | Voice name or id; empty = model default |