speak
Converts text into offline audio played through local speakers, queues playback, and supports voice/model selection for on-device text-to-speech.
Instructions
Say text out loud through this computer's speakers, fully offline.
Use it when the user asks you to speak, read something aloud, or announce a result.
Markdown, code blocks and URLs are tidied up before speaking. Playback runs in the
background and queues behind anything already playing; call stop_speaking to cut it off.
Args:
text: What to say. Any length; long text is split at sentence boundaries.
voice: Voice name, case-insensitive (e.g. "Zoey", "Hugh", "Freya"). Defaults to the
configured voice. See list_voices.
model: Ollama speech model tag, e.g. "phonon" or "phonon:multilingual". Defaults to the
configured model.
wait: If true, return only after the audio has finished playing.
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": "speak"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| wait | No | ||
| model | No | ||
| voice | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |