| name | tts |
| description | Synthesize speech to a WAV file. Use when: the user asks to generate audio from text, narrate a document, or create a voice prompt. NOT for: real-time streaming (this writes a file). |
| metadata | {"all_agents":{"emoji":"🔊","requires":{"anyBins":["espeak-ng","say"]}}} |
Text-to-Speech
Use run_command with whichever engine is on PATH.
Linux (espeak-ng)
run_command { command: "espeak-ng -w out.wav 'hello world'" }
macOS (built-in say)
run_command { command: "say -o out.wav 'hello world'" }
Pick the engine
First call system_info. On Linux, prefer espeak-ng (must be
installed). On macOS, say is always available. Quote the text using
single quotes; escape any embedded apostrophes.