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 <noreply@anthropic.com>
This commit is contained in:
parent
e2e24a0366
commit
e2ba9b9fb5
1 changed files with 1 additions and 1 deletions
|
|
@ -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{} {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue