refactor(agents): unify tool media reply delivery

This commit is contained in:
Peter Steinberger
2026-03-22 00:49:18 -07:00
parent 2d492ab534
commit 3cd4978fc2
19 changed files with 414 additions and 70 deletions

View File

@@ -390,9 +390,9 @@ Notes:
## Agent tool
The `tts` tool converts text to speech and returns a `MEDIA:` path. When the
result is Telegram-compatible, the tool includes `[[audio_as_voice]]` so
Telegram sends a voice bubble.
The `tts` tool converts text to speech and returns an audio attachment for
reply delivery. When the result is Telegram-compatible, OpenClaw marks it for
voice-bubble delivery.
## Gateway RPC

View File

@@ -390,9 +390,9 @@ Notes:
## Agent tool
The `tts` tool converts text to speech and returns a `MEDIA:` path. When the
result is Telegram-compatible, the tool includes `[[audio_as_voice]]` so
Telegram sends a voice bubble.
The `tts` tool converts text to speech and returns an audio attachment for
reply delivery. When the result is Telegram-compatible, OpenClaw marks it for
voice-bubble delivery.
## Gateway RPC