Reply with voice memos using text-to-speech. Use when the user sends a voice message, asks for an audio reply, or when a voice response would be more natural.
Generate voice memos using TTS and send them as native voice notes.
Use the <voice> directive to send voice memos. No tool calls needed:
<actions>
<voice>Hey, here's a quick update on that thing we discussed.</voice>
</actions>
With accompanying text:
<actions>
<voice>Here's the summary as audio.</voice>
</actions>
And here it is in text form too!
For background tasks that need to send voice without a user message context:
OUTPUT=$(lettabot-tts "Your message here") || exit 1
lettabot-message send --file "$OUTPUT" --voice
ELEVENLABS_API_KEY is not setcleanup="true" to delete the audio file after sendingdata/outbound/ directory is the default allowed path for send-file directives$LETTABOT_WORKING_DIR to output files to the correct directory