text_to_speech
Convert text to speech using Gemini Flash TTS models. Pick from multiple voices to create audio from written content.
Instructions
Generate speech audio from text using Gemini Flash TTS model.
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 | Text to convert to speech | |
| model | No | gemini-2.5-flash-preview-tts | |
| voice | No | Kore |