diff --git a/crates/hx-tools/src/lib.rs b/crates/hx-tools/src/lib.rs index 38155b7..197bcf0 100644 --- a/crates/hx-tools/src/lib.rs +++ b/crates/hx-tools/src/lib.rs @@ -409,7 +409,12 @@ impl Tool for MemoryWrite { async fn call(&self, a: Value, cx: &ToolCtx) -> ToolResult { let g = |k: &str| a[k].as_str().unwrap_or_default(); match hx_core::memory::write(&memory_dir(&a, cx), g("slug"), g("hook"), g("body")) { - Ok(()) => ToolResult::ok(format!("saved memory '{}'", g("slug"))), + Ok(()) => ToolResult::ok(format!( + "saved {} memory '{}' – {}", + a["scope"].as_str().unwrap_or("global"), + g("slug"), + g("hook") + )), Err(e) => ToolResult::err(e), } }