kokoroPreview
Generate a short voice clip with Kokoro TTS and receive the audio to preview voice options. Use it to compare available voices and choose the right one for your calls.
Instructions
Generate a short voice clip using the Kokoro TTS engine and return the audio (raw or WAV depending on the call). Use to pick a voice.
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": "kokoroPreview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to synthesize | |
| speed | No | Speaking speed factor (default 1) | |
| voice | No | Kokoro voice id from listVoices, e.g. af_heart / am_adam. Defaults to af_heart. |