async def load_memory(
    query: str, tool_context: ToolContext
) -> LoadMemoryResponse:
  """Loads the memory for the current user.

  Args:
    query: The query to load the memory for.

  Returns:
    A list of memory results.
  """
  search_memory_response = await tool_context.search_memory(query)
  return LoadMemoryResponse(memories=search_memory_response.memories)
Loads the memory for the current user.

  Args:
    query: The query to load the memory for.

  Returns:
    A list of memory results.
  
src/google/adk/tools/load_memory_tool.py