Class MemorySearchTool

java.lang.Object
io.agentscope.harness.agent.tool.MemorySearchTool

public class MemorySearchTool extends Object
Tool for searching through persisted memories (MEMORY.md and memory/*.md files).

Uses keyword-based search through all memory files visible via the configured AbstractFilesystem (works across Local, Sandbox, and Store stores).

  • Constructor Details

  • Method Details

    • memorySearch

      @Tool(name="memory_search", readOnly=true, description="Search through long-term memory files (MEMORY.md and memory/*.md) for relevant information. Use before answering questions about prior work, decisions, dates, people, preferences, or todos.") public String memorySearch(io.agentscope.core.agent.RuntimeContext runtimeContext, @ToolParam(name="query",description="Keywords to search for in memory files") String query)