| name | xai_tts |
| description | Use when the user asks to generate speech, text-to-speech, audio narration, voice output, or TTS with xAI/Grok through xai_tts. |
xAI TTS
Use xai_tts to generate speech audio.
Preferred MCP call:
{
"input": "Hello from Grok.",
"voice_id": "eve",
"language": "auto",
"codec": "mp3"
}
Options:
input: required text to speak.
voice_id: optional voice, default eve.
language: optional language, default auto.
codec: optional output codec.
Return the content type and explain that the audio bytes are returned as base64 in the tool output.