Skip to main content

handle_agent_memory_revert

Function handle_agent_memory_revert 

Source
pub(super) async fn handle_agent_memory_revert(
    __arg0: State<AppState>,
    caller: Option<Extension<Caller>>,
    __arg2: Json<AgentMemoryRevertRequest>,
) -> impl IntoResponse
Expand description

POST /api/v1/agent/memory/revert — restore a memory file’s live content to a prior version, recorded as a NEW version (source: "revert") — never rewrites or deletes history. Backs the MemoryRevert MCP tool.