Skip to main content

get_tool

Function get_tool 

Source
pub fn get_tool() -> ToolDefinition
Expand description

Defines the get tool for direct memory retrieval by ID.

This is a fundamental CRUD operation present in all major memory systems:

  • Mem0: get(memory_id)
  • Zep: get_memory(session_id, memory_id)
  • LangMem: get_memories()