Skip to main content

MEMORY_HISTORY_TOOL

Constant MEMORY_HISTORY_TOOL 

Source
pub(crate) const MEMORY_HISTORY_TOOL: &str = r#"{
  "name": "MemoryHistory",
  "description": "List every recorded version of one of your own native memory (brain) markdown files, newest first. Each entry shows who/what wrote it (source: human, agent_inferred, jekt, external_fs_write, or revert) and when. Use it to review how a memory file changed over time, or to find a version id to pass to MemoryDiff/MemoryRevert.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "filename": { "type": "string", "description": "The memory file to show history for (from MemoryList)" }
    },
    "required": ["filename"]
  }
}"#;