text_to_speech
Convert text into spoken audio and save it as a WAV file, with support for 130+ languages, selectable voices, speaking styles, and multi-speaker dialogue.
Instructions
Read text aloud and save a WAV (130+ languages).
text: exact text. For multi-speaker, each line is "Name: text". voice: prebuilt voice (Kore, Puck, Charon, Fenrir, Aoede, Leda, Orus, Zephyr...; see list_voices) or a custom voice id (voice_...). style: delivery direction, e.g. "warm, reassuring, unhurried". language: BCP-47 code (e.g. en-US, tr-TR); auto-detected if empty. speakers: [{"speaker": "Ana", "voice": "Kore"}, {"speaker": "Ben", "voice": "Puck"}].
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": {
"text": "<text>"
},
"name": "text_to_speech"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| model | No | ||
| style | No | ||
| voice | No | Kore | |
| filename | No | ||
| language | No | ||
| speakers | No | ||
| force_new | No |