preview_voice
Generate a short TTS preview for a voice and save it as a WAV file to a specified path, using an optional locale and custom text.
Instructions
Generate a short TTS preview and save it to disk.
Args:
voice_id: Voice id from list_voices.
output_path: Where to write the WAV file.
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>",
"output_path": "<output_path>"
},
"name": "preview_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| voice_id | Yes | ||
| output_path | Yes | ||
| language_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |