pub(crate) const GLOBAL_MEMORY_REVERT_TOOL: &str = r#"{
"name": "GlobalMemoryRevert",
"description": "Restore a Global Memory entry's live content to a prior recorded version. Global Memory is inherited by EVERY agent in this workspace at launch, so this changes what every agent — not just you — is instructed with at their next launch (use MemoryRevert to restore your own native memory instead). This does NOT delete history — it records a new version (source: \"revert\") whose content matches the target, same as `git revert`. Use it to undo a bad or fabricated Global Memory write once you've confirmed via GlobalMemoryHistory/GlobalMemoryDiff which version to restore. Cannot revert AgentMux's own system-tier entries.",
"inputSchema": {
"type": "object",
"properties": {
"id": { "type": "string", "description": "The Global Memory entry id to revert (from GlobalMemoryList)" },
"version_id": { "type": "string", "description": "The version id to restore (from GlobalMemoryHistory)" }
},
"required": ["id", "version_id"]
}
}"#;