llm_audio
Convert text to speech by routing to ElevenLabs or OpenAI TTS. Select a voice and let the router choose the optimal model for your audio task.
Instructions
Generate speech/audio — routes to ElevenLabs or OpenAI TTS.
Args: text: Text to convert to speech. model: Optional model override (e.g. "openai/tts-1-hd", "elevenlabs/eleven_multilingual_v2"). voice: Voice selection (OpenAI: alloy/echo/fable/onyx/nova/shimmer. ElevenLabs: voice ID).
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": "llm_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| model | No | ||
| voice | No | alloy |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |