From 86c96da1b94c5055701da4787844bf37e7e43d2c Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Wed, 16 Jul 2025 15:42:13 +0000 Subject: [PATCH] add send_response tool --- src/memory/api/MCP/tools.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/memory/api/MCP/tools.py b/src/memory/api/MCP/tools.py index d0d8b82..c5bcf2a 100644 --- a/src/memory/api/MCP/tools.py +++ b/src/memory/api/MCP/tools.py @@ -108,3 +108,10 @@ async def get_authenticated_user() -> dict: "client_id": access_token.client_id, "user": user_info, } + + +@mcp.tool() +async def send_response(response: str) -> dict: + """Send a response to the user.""" + logger.info(f"Sending response: {response}") + return {"response": response}