Skip to main content

handle_agent_globalmemory_write

Function handle_agent_globalmemory_write 

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

POST /api/v1/agent/globalmemory/write — create a new ordinary Global Memory entry, or update an existing one by id. Never reaches a system-tier row either way — see global_memory_write_impl’s own doc comment for the full invariant. Backs the GlobalMemoryWrite MCP tool.