preview_voice
Generate a short TTS preview. Hosted mode returns a download URL.
Args:
voice_id: Voice id from `list_voices`.
output_path: Output filename hint (hosted) or WAV path (stdio).
language_code: Optional locale.
text: Optional preview line (max 200 chars).
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": {
"voice_id": "<voice_id>"
},
"name": "preview_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Optional preview line (max 200 chars). | |
| voice_id | Yes | Voice id from `list_voices`. | |
| output_path | No | Output filename hint (hosted) or WAV path (stdio). | preview.wav |
| language_code | No | Optional locale. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |