Skip to main content

GLOBAL_MEMORY_HISTORY_TOOL

Constant GLOBAL_MEMORY_HISTORY_TOOL 

Source
pub(crate) const GLOBAL_MEMORY_HISTORY_TOOL: &str = r#"{
  "name": "GlobalMemoryHistory",
  "description": "List every recorded version of one Global Memory entry, newest first. Global Memory is inherited by EVERY agent in this workspace at launch — this is the audit trail for that workspace-wide shared state, not your own native memory (use MemoryHistory for that). Each entry shows who/what wrote it (source: human, agent_inferred, jekt, or revert) and when. Use it to review how an entry changed over time, or to find a version id to pass to GlobalMemoryDiff/GlobalMemoryRevert.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "id": { "type": "string", "description": "The Global Memory entry id to show history for (from GlobalMemoryList)" }
    },
    "required": ["id"]
  }
}"#;