Fix send_message docstring: remove unicode dashes that broke tool spec

This commit is contained in:
daniel
2026-05-07 15:15:41 -05:00
parent b69fdd479a
commit 7f7f555983

View File

@@ -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)