diff --git a/src-tauri/src/mcp/handler.rs b/src-tauri/src/mcp/handler.rs index 42fb7e6..3636120 100644 --- a/src-tauri/src/mcp/handler.rs +++ b/src-tauri/src/mcp/handler.rs @@ -197,7 +197,8 @@ impl WaMcpHandler { // call `scope::brief_visible(scope_val, exposed)` before returning. match crate::commands::get_feature_brief(id).await { Ok(brief) => Ok(CallToolResult::structured( - serde_json::to_value(brief).map_err(|e| McpProtoError::internal_error(e.to_string(), None))?, + serde_json::to_value(brief) + .map_err(|e| McpProtoError::internal_error(e.to_string(), None))?, )), Err(e) => Ok(CallToolResult::structured_error(json!({ "error": e.kind,