Fix send_message docstring: remove unicode dashes that broke tool spec
This commit is contained in:
@@ -66,13 +66,7 @@ app = BedrockAgentCoreApp()
|
|||||||
|
|
||||||
@tool
|
@tool
|
||||||
def send_message(text: str) -> str:
|
def send_message(text: str) -> str:
|
||||||
"""Send a message to the user through their channel (Telegram, Slack, etc.).
|
"""Send a message to the user. Use multiple calls to send incrementally - send the direct answer first, then elaboration. Each call delivers immediately to the user."""
|
||||||
|
|
||||||
Use this proactively throughout your response — don't wait until fully done.
|
|
||||||
Send the direct answer first, then elaboration if needed, then any caveats.
|
|
||||||
Each call appears to the user immediately. Prefer 2-4 focused messages over
|
|
||||||
one long wall of text.
|
|
||||||
"""
|
|
||||||
return messaging.send(text)
|
return messaging.send(text)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user