Text to speech
text_to_speechTurn German (or any) text into spoken audio (mp3). The file is stored privately for this tenant and a short-lived signed URL is returned. Billed per character.
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 speak (max 8000 characters) | |
| voice | No | Optional voice: alloy|ash|ballad|coral|echo|fable|onyx|nova|sage|shimmer|verse (default alloy) | |
| target_tenant_id | No | Platform super-admins only: operate on this tenant instead of your own. |