Files
openclaw/extensions
Sebastian B Otaegui b9b6ca46c3 fix(discord): upload-file with a base64 buffer fails without pointing at send (#123748)
* fix(discord): reject upload-file buffer attachments with send guidance

The flat message tool schema advertises buffer for every action, so
callers reasonably infer upload-file + buffer is valid on Discord. The
Discord handler only reads filePath/path/media for upload-file and
failed with an error that never mentioned the supported path.

Scope the buffer schema description to action="send" and make Discord
upload-file reject a buffer-only call with guidance to use send instead
of duplicating the send buffer pipeline under a second action.

* review: keep the shared buffer description channel-neutral

iMessage's upload-file deliberately consumes a buffer, so scoping the
shared schema text to send would teach models away from a supported
path. Keep the guidance owner-local: Discord's rejection carries it.
2026-08-23 02:32:11 -07:00
..
…
…
…
…
…
…
…