From e2ba9b9fb5f8ae3e79a6ea54cf145c405ade266c Mon Sep 17 00:00:00 2001 From: repfigit <--global> Date: Sun, 15 Feb 2026 22:28:24 -0500 Subject: [PATCH] fix: update message tool description to mention media capability The LLM didn't know it could send files because the tool description only mentioned text messages. Now it explicitly describes file attachment support so the bot will use the media parameter instead of telling users to send files manually. Co-Authored-By: Claude Opus 4.6 --- pkg/tools/message.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tools/message.go b/pkg/tools/message.go index 8f963d4ff..7727fbef1 100644 --- a/pkg/tools/message.go +++ b/pkg/tools/message.go @@ -23,7 +23,7 @@ func (t *MessageTool) Name() string { } func (t *MessageTool) Description() string { - return "Send a message to user on a chat channel. Use this when you want to communicate something." + return "Send a message to user on a chat channel. Use this when you want to communicate something. You can also attach local files (images, documents, audio, video) using the media parameter — the files will be delivered natively through the channel." } func (t *MessageTool) Parameters() map[string]interface{} {