GPT and type 2 diabetes mellitus: We employed UVMR and MVMR approaches to determine the direct causal effects of liver enzymes (specifically ALT and AST) on T2DM with DR and also performed sensitivity analyses to ensure the robustness of the results.