speak_text
Speak text aloud using system TTS for eyes-free confirmations, read-backs, or conversation. Supports interrupt and queue modes.
Instructions
Speak text aloud through the OS's system TTS. Use this whenever the user can't see the screen — confirmations ("OK, I muted notifications"), read-backs ("here's your transcript: ..."), or eyes-free conversation. Returns 200 immediately after starting playback (does NOT block for audio duration). Default interrupt:true cancels any currently-playing TTS so a new utterance always wins; pass interrupt:false to queue. voice and rate are platform-specific — call list_tts_voices first if the user asks for a particular voice. Linux requires festival or espeak installed; failure returns a structured hint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | Optional speech rate. macOS: words-per-minute (default ~175). Omit for OS default. | |
| text | Yes | Text to speak. Max 5000 chars; break longer messages into chunks. | |
| voice | No | Optional voice name (platform-specific, e.g. "Samantha" on macOS). Omit for OS default. | |
| interrupt | No | If true (default) cancels any in-flight TTS before speaking. Set false to queue after current speech. |