mirror of
https://github.com/mruwnik/memory.git
synced 2025-07-29 14:16:09 +02:00
add send_response tool
This commit is contained in:
parent
42dd94c0ef
commit
86c96da1b9
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user