strands.experimental.bidi.tools.stop_conversation
Tool to gracefully stop a bidirectional connection.
stop_conversation
Section titled “stop_conversation”@tooldef stop_conversation() -> strDefined in: src/strands/experimental/bidi/tools/stop_conversation.py:7
Stop the bidirectional conversation gracefully.
Use ONLY when user says “stop conversation” exactly. Do NOT use for: “stop”, “goodbye”, “bye”, “exit”, “quit”, “end” or other farewells or phrases.
Returns:
Success message confirming the conversation will end