Package io.agentscope.harness.agent.tool
Class MemorySearchTool
java.lang.Object
io.agentscope.harness.agent.tool.MemorySearchTool
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmemorySearch(io.agentscope.core.agent.RuntimeContext runtimeContext, String query)
-
Constructor Details
-
MemorySearchTool
-
-
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)
-