synthesize_speech
Generate spoken-audio (text-to-speech) for a verse, prayer, or devotional in 50+ languages, and get back a playable audio URL. Pass a BCP-47 language (e.g. en-US, es-ES, sw-KE, fil-PH, cmn-CN), optional voice/gender. Results are cached. Requires an API key (audio generation has real cost).
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": "synthesize_speech"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to synthesize into speech (a verse, prayer, or short devotional). | |
| voice | No | Optional specific Google Cloud TTS voice name; overrides the default voice for the language. Pass the matching language with it. | |
| format | No | Audio container/encoding of the returned URL. | mp3 |
| gender | No | Preferred voice gender when a specific voice is not named. | NEUTRAL |
| language | No | BCP-47 language tag for the voice, as Google Cloud TTS names it: en-US, es-ES, sw-KE, fil-PH (Tagalog/Filipino), cmn-CN (Mandarin). 'tl' is accepted for fil-PH and 'zh' for cmn-CN. If omitted and a voice is named, the voice's own locale is used. | en-US |